]> err.no Git - linux-2.6/blobdiff - arch/x86/mm/fault.c
x86: check vmlinux limits, 64-bit
[linux-2.6] / arch / x86 / mm / fault.c
index ec08d83898505171ca31b146d4bb0360690ae884..81fcbeec389279de08c9ce0a83d6260e1bdf4777 100644 (file)
@@ -976,9 +976,5 @@ void vmalloc_sync_all(void)
                if (address == start)
                        start = address + PGDIR_SIZE;
        }
-       /* Check that there is no need to do the same for the modules area. */
-       BUILD_BUG_ON(!(MODULES_VADDR > __START_KERNEL));
-       BUILD_BUG_ON(!(((MODULES_END - 1) & PGDIR_MASK) ==
-                               (__START_KERNEL & PGDIR_MASK)));
 #endif
 }