X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=arch%2Fx86_64%2Fkernel%2Fmodule.c;h=78ce354a5b083f9ce5a83a04a2edc516e110da46;hb=9bf4aaab3e101692164d49b7ca357651eb691cb6;hp=c2256e5acdbf4c3f0ad26328eff6dbcf5355faa4;hpb=db216c3d5e4c040e557a50f8f5d35d5c415e8c1c;p=linux-2.6.git diff --git a/arch/x86_64/kernel/module.c b/arch/x86_64/kernel/module.c index c2256e5ac..78ce354a5 100644 --- a/arch/x86_64/kernel/module.c +++ b/arch/x86_64/kernel/module.c @@ -121,7 +121,7 @@ void *module_alloc(unsigned long size) goto fail; } - if (map_vm_area(area, PAGE_KERNEL_EXECUTABLE, &pages)) + if (map_vm_area(area, PAGE_KERNEL_EXEC, &pages)) goto fail; memset(addr, 0, size);