[PATCH] powerpc: Fix compiling of ppc32
authorKumar Gala <galak@freescale.com>
Wed, 21 Sep 2005 20:44:11 +0000 (15:44 -0500)
committerPaul Mackerras <paulus@samba.org>
Thu, 22 Sep 2005 11:03:34 +0000 (21:03 +1000)
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 have VDSO
support in the ppc32 tree at this time.  Introducing this define causes
a number of other things to get built with the assumption of VDSO, thus
causing the compile errors for ppc32.

Until we have VDSO on ppc32 we will leave AT_SYSINFO_EHDR a ppc64 only
define.

Signed-off-by: Kumar K. Gala <kumar.gala@freescale.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
include/asm-powerpc/auxvec.h

index 19a099b62cd6aae4100129e52bfa1679e0bba9e8..79d8c47323093508bf0b78223712e60115c81386 100644 (file)
@@ -14,6 +14,8 @@
 /* The vDSO location. We have to use the same value as x86 for glibc's
  * sake :-)
  */
+#ifdef __powerpc64__
 #define AT_SYSINFO_EHDR                33
+#endif
 
 #endif