Skip to contentSkip to conversation

ppc64: Kill unused KRANGE_{START,END} macros

TRIVIAL David Gibson 1 participant 1 message Nov 12, 2004

lore
Share & tools
lore
#0 lore raw

Andrew, please apply:

Remove KRANGE_{START,END} macros from ppc64 code. These were not used anywhere. Further KRANGE_END was misleading, since it implied a limit on the linear mapping range based on the pagetable structure, whereas in fact the linear mapping does not use a (Linux) pagetable at all.

include/asm-ppc64/pgtable.h +0 -6
Index: working-2.6/include/asm-ppc64/pgtable.h
===================================================================
@@ -67,12 +67,6 @@
 #define IMALLOC_END       (IMALLOC_BASE + PGTABLE_EA_MASK)
 
 /*
- * Define the address range mapped virt <-> physical
- */
-#define KRANGE_START KERNELBASE
-#define KRANGE_END   (KRANGE_START + PGTABLE_EA_MASK)
-
-/*
  * Define the user address range
  */
 #define USER_START (0UL)
Signature · 4 lines
David Gibson			| I'll have my music baroque, and my code
david AT gibson.dropbear.id.au	| minimalist.  NOT _the_ _other_ _way_
				| _around_!
http://www.ozlabs.org/people/dgibson