Skip to contentSkip to conversation

UML - Fix highmem compilation

PATCH New Jeff Dike 1 participant 1 message Dec 3, 2004 User-mode Linux (UML)

lore
Share & tools
lore

Jeff Dike

author
#0 lore raw

PATCH 1/1 UML - Fix highmem compilation

Remove a reference to an unused variable.

arch/um/kernel/mem.c +0 -3
Index: 2.6.9/arch/um/kernel/mem.c
===================================================================
@@ -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);