aboutsummaryrefslogtreecommitdiff
path: root/include/asm-powerpc/auxvec.h
diff options
context:
space:
mode:
authorKumar Gala <galak@freescale.com>2005-09-21 15:44:11 -0500
committerPaul Mackerras <paulus@samba.org>2005-09-22 21:03:34 +1000
commitfa2ac7a25f1b11c4a695c9288339d0476ecfaf38 (patch)
tree17fa8141c7601ea8e7281cd54fd7a41ae35f7d85 /include/asm-powerpc/auxvec.h
parentb8f114db84dac709080198e08a5564976afd6579 (diff)
[PATCH] powerpc: Fix compiling of ppc32
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>
Diffstat (limited to 'include/asm-powerpc/auxvec.h')
-rw-r--r--include/asm-powerpc/auxvec.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-powerpc/auxvec.h b/include/asm-powerpc/auxvec.h
index 19a099b62cd..79d8c473230 100644
--- a/include/asm-powerpc/auxvec.h
+++ b/include/asm-powerpc/auxvec.h
@@ -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