浏览代码

ARM: Fix warning: unused variable 'highmem'

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Russell King 15 年之前
父节点
当前提交
041d785f80
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      arch/arm/mm/mmu.c

+ 2 - 0
arch/arm/mm/mmu.c

@@ -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.