arm64: bpf: do not allocate executable memory
[linux-2.6-microblaze.git] / arch / arm64 / net / bpf_jit_comp.c
index df845ce..aef4ff4 100644 (file)
@@ -981,7 +981,7 @@ void *bpf_jit_alloc_exec(unsigned long size)
 {
        return __vmalloc_node_range(size, PAGE_SIZE, BPF_JIT_REGION_START,
                                    BPF_JIT_REGION_END, GFP_KERNEL,
-                                   PAGE_KERNEL_EXEC, 0, NUMA_NO_NODE,
+                                   PAGE_KERNEL, 0, NUMA_NO_NODE,
                                    __builtin_return_address(0));
 }