[PATCH] powerpc: need to define __HAVE_ARCH_GATE_AREA for ppc32

Kumar Gala kumar.gala at freescale.com
Thu Sep 22 06:24:52 EST 2005


Well, this doesn't actually solve the problem since get_gate_vma and  
a few other things aren't actually defined yet in ppc32 land (damn  
the lack of VDSO).

I'll send a proper patch that truly fixes ppc32 land.

- kumar

On Sep 21, 2005, at 2:56 PM, Gala Kumar K.-galak wrote:

> The merging of auxvec.h into asm-powerpc introduced the  
> AT_SYSINFO_EHDR
> into the ppc32 build that is used for VDSO.  However, we dont use the
> gate mechanism for VDSO so we need to define __HAVE_ARCH_GATE_AREA.
>
> Signed-off-by: Kumar K. Gala <kumar.gala at freescale.com>
>
> ---
> commit ed88e411b2af8c41c50953e3138059fce60486f5
> tree 32a15cfe1e4d8b4446552b22e42e0c85b85e16b8
> parent 23e5b24d486fc63bd38b594c49240ffbac1aa474
> author Kumar K. Gala <kumar.gala at freescale.com> Wed, 21 Sep 2005
> 14:55:45 -0500
> committer Kumar K. Gala <kumar.gala at freescale.com> Wed, 21 Sep 2005
> 14:55:45 -0500
>
>  include/asm-ppc/page.h |    3 +++
>  1 files changed, 3 insertions(+), 0 deletions(-)
>
> diff --git a/include/asm-ppc/page.h b/include/asm-ppc/page.h
> --- a/include/asm-ppc/page.h
> +++ b/include/asm-ppc/page.h
> @@ -160,6 +160,9 @@ extern __inline__ int get_order(unsigned
>      return 32 - lz;
>  }
>
> +/* We do define AT_SYSINFO_EHDR but don't use the gate mecanism */
> +#define __HAVE_ARCH_GATE_AREA        1
> +
>  #endif /* __ASSEMBLY__ */
>
>  #define VM_DATA_DEFAULT_FLAGS    (VM_READ | VM_WRITE | VM_EXEC | \
> _______________________________________________
> Linuxppc-dev mailing list
> Linuxppc-dev at ozlabs.org
> https://ozlabs.org/mailman/listinfo/linuxppc-dev
>




More information about the Linuxppc-dev mailing list