ARM: Fix warning: unused variable 'highmem'
authorRussell King <rmk+kernel@arm.linux.org.uk>
Sun, 27 Sep 2009 16:40:42 +0000 (17:40 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 28 Sep 2009 17:06:20 +0000 (18:06 +0100)
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mm/mmu.c

index 4426ee6..ce551ec 100644 (file)
@@ -726,6 +726,8 @@ static void __init sanity_check_meminfo(void)
                        bank->size = VMALLOC_MIN - __va(bank->start);
                }
 #else
+               bank->highmem = highmem;
+
                /*
                 * Check whether this memory bank would entirely overlap
                 * the vmalloc area.