diff options
Diffstat (limited to 'arch/arm/mm/mmu.c')
-rw-r--r-- | arch/arm/mm/mmu.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/mm/mmu.c b/arch/arm/mm/mmu.c index aa424e1da8a1..8c6fc5a6237e 100644 --- a/arch/arm/mm/mmu.c +++ b/arch/arm/mm/mmu.c | |||
@@ -716,7 +716,8 @@ static void __init sanity_check_meminfo(void) | |||
716 | * Check whether this memory bank would entirely overlap | 716 | * Check whether this memory bank would entirely overlap |
717 | * the vmalloc area. | 717 | * the vmalloc area. |
718 | */ | 718 | */ |
719 | if (__va(bank->start) >= VMALLOC_MIN) { | 719 | if (__va(bank->start) >= VMALLOC_MIN || |
720 | __va(bank->start) < PAGE_OFFSET) { | ||
720 | printk(KERN_NOTICE "Ignoring RAM at %.8lx-%.8lx " | 721 | printk(KERN_NOTICE "Ignoring RAM at %.8lx-%.8lx " |
721 | "(vmalloc region overlap).\n", | 722 | "(vmalloc region overlap).\n", |
722 | bank->start, bank->start + bank->size - 1); | 723 | bank->start, bank->start + bank->size - 1); |