瀏覽代碼

[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>
Kumar Gala 19 年之前
父節點
當前提交
fa2ac7a25f
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      include/asm-powerpc/auxvec.h

+ 2 - 0
include/asm-powerpc/auxvec.h

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