diff options
Diffstat (limited to 'arch')
-rw-r--r-- | arch/tile/mm/fault.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/tile/mm/fault.c b/arch/tile/mm/fault.c index f7f99f90cbe0..6152819e555b 100644 --- a/arch/tile/mm/fault.c +++ b/arch/tile/mm/fault.c | |||
@@ -870,7 +870,8 @@ void vmalloc_sync_all(void) | |||
870 | { | 870 | { |
871 | #ifdef __tilegx__ | 871 | #ifdef __tilegx__ |
872 | /* Currently all L1 kernel pmd's are static and shared. */ | 872 | /* Currently all L1 kernel pmd's are static and shared. */ |
873 | BUG_ON(pgd_index(VMALLOC_END) != pgd_index(VMALLOC_START)); | 873 | BUILD_BUG_ON(pgd_index(VMALLOC_END - PAGE_SIZE) != |
874 | pgd_index(VMALLOC_START)); | ||
874 | #else | 875 | #else |
875 | /* | 876 | /* |
876 | * Note that races in the updates of insync and start aren't | 877 | * Note that races in the updates of insync and start aren't |