[PATCH 2/2] powerpc: Remove redundant setting of htab_address

Michael Ellerman michael at ellerman.id.au
Wed Jan 11 15:27:25 EST 2006


iSeries doesn't need to set the htab_address explicitly, htab_initialize()
will do it for us later.

Signed-off-by: Michael Ellerman <michael at ellerman.id.au>
---

 arch/powerpc/platforms/iseries/setup.c |    6 ------
 1 files changed, 6 deletions(-)

Index: linux/arch/powerpc/platforms/iseries/setup.c
===================================================================
--- linux.orig/arch/powerpc/platforms/iseries/setup.c
+++ linux/arch/powerpc/platforms/iseries/setup.c
@@ -475,12 +475,6 @@ static unsigned long __init build_iSerie
 			chunk_to_addr(hptFirstChunk), hptSizeChunks * 256);
 
 	/*
-	 * The actual hashed page table is in the hypervisor,
-	 * we have no direct access
-	 */
-	htab_address = NULL;
-
-	/*
 	 * Determine if absolute memory has any
 	 * holes so that we can interpret the
 	 * access map we get back from the hypervisor



More information about the Linuxppc64-dev mailing list