drm/panthor: Don't add write fences to the shared BOs
[drm/drm-misc.git] / arch / sparc / mm / execmem.c
blob0fac97dd5728b654cbc64c3540e7d40dd30afdcb
1 // SPDX-License-Identifier: GPL-2.0
2 #include <linux/mm.h>
3 #include <linux/execmem.h>
5 static struct execmem_info execmem_info __ro_after_init;
7 struct execmem_info __init *execmem_arch_setup(void)
9 execmem_info = (struct execmem_info){
10 .ranges = {
11 [EXECMEM_DEFAULT] = {
12 .start = MODULES_VADDR,
13 .end = MODULES_END,
14 .pgprot = PAGE_KERNEL,
15 .alignment = 1,
20 return &execmem_info;