[PATCH] UML - Fix highmem compilation

From: Jeff Dike
Date: Fri Dec 03 2004 - 14:41:58 EST


Remove a reference to an unused variable.

Signed-off-by: Jeff Dike <jdike@xxxxxxxxxxx>

Index: 2.6.9/arch/um/kernel/mem.c
===================================================================
--- 2.6.9.orig/arch/um/kernel/mem.c 2004-12-03 12:46:55.000000000 -0500
+++ 2.6.9/arch/um/kernel/mem.c 2004-12-03 12:58:23.000000000 -0500
@@ -65,9 +65,6 @@
unsigned long start;

max_low_pfn = (high_physmem - uml_physmem) >> PAGE_SHIFT;
-#ifdef CONFIG_HIGHMEM
- highmem_start_page = pfn_to_page(phys_to_pfn(__pa(high_physmem)));
-#endif

/* clear the zero-page */
memset((void *) empty_zero_page, 0, PAGE_SIZE);

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/