diff options
author | Kumar Gala <galak@freescale.com> | 2005-09-21 15:44:11 -0500 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2005-09-22 21:03:34 +1000 |
commit | fa2ac7a25f1b11c4a695c9288339d0476ecfaf38 (patch) | |
tree | 17fa8141c7601ea8e7281cd54fd7a41ae35f7d85 /include/asm-powerpc | |
parent | b8f114db84dac709080198e08a5564976afd6579 (diff) | |
download | op-kernel-dev-fa2ac7a25f1b11c4a695c9288339d0476ecfaf38.zip op-kernel-dev-fa2ac7a25f1b11c4a695c9288339d0476ecfaf38.tar.gz |
[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')
-rw-r--r-- | include/asm-powerpc/auxvec.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-powerpc/auxvec.h b/include/asm-powerpc/auxvec.h index 19a099b..79d8c47 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 |