powerpc: Fix iSeries bug in VMALLOCBASE/VMALLOC_START consolidation

David Gibson david at gibson.dropbear.id.au
Fri Dec 16 14:49:25 EST 2005


Paulus, please apply to powerpc tree.

Oops, forgot to compile the VMALLOCBASE/VMALLOC_START patch on
iSeries.  VMALLOC_START is defined in pgtable.h whereas previously
VMALLOCBASE was previously defined in page.h.  lparmap.c needs to be
updated appropriately:

Booted on iSeries RS64 (now).

Signed-off-by: David Gibson <dwg at au1.ibm.com>

Index: working-2.6/arch/powerpc/kernel/lparmap.c
===================================================================
--- working-2.6.orig/arch/powerpc/kernel/lparmap.c	2005-12-16 13:05:21.000000000 +1100
+++ working-2.6/arch/powerpc/kernel/lparmap.c	2005-12-16 14:45:45.000000000 +1100
@@ -7,7 +7,7 @@
  * 2 of the License, or (at your option) any later version.
  */
 #include <asm/mmu.h>
-#include <asm/page.h>
+#include <asm/pgtable.h>
 #include <asm/iseries/lpar_map.h>
 
 const struct LparMap __attribute__((__section__(".text"))) xLparMap = {

-- 
David Gibson			| I'll have my music baroque, and my code
david AT gibson.dropbear.id.au	| minimalist, thank you.  NOT _the_ _other_
				| _way_ _around_!
http://www.ozlabs.org/~dgibson



More information about the Linuxppc64-dev mailing list