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 4426ee67ceca5d3d74c9b0dbe0f39c5b7e2b8538..ce551ec2cb23077d4f3d29b79890fbc47eb797bc 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.