powerpc: Fix iSeries bug in VMALLOCBASE/VMALLOC_START consolidation

will schmidt will_schmidt at vnet.ibm.com
Thu Jan 12 08:48:33 EST 2006


David Gibson wrote:
> 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 = {
> 

This patch still needs to be applied?

when building powerpc-git for iSeries, i'm getting this:
   CC      arch/powerpc/kernel/lparmap.s
arch/powerpc/kernel/lparmap.c:21: error: `VMALLOC_START' undeclared here (not in a function)
arch/powerpc/kernel/lparmap.c:21: error: initializer element is not constant
arch/powerpc/kernel/lparmap.c:21: error: (near initialization for `xLparMap.xEsids[1].xKernelEsid')
arch/powerpc/kernel/lparmap.c:22: error: `VMALLOC_START' undeclared here (not in a function)
<snippage>.....

-Will



More information about the Linuxppc64-dev mailing list