VServer 1.9.2 (patch-2.6.8.1-vs1.9.2.diff)
[linux-2.6.git] / arch / x86_64 / kernel / module.c
index c2256e5..78ce354 100644 (file)
@@ -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);