summaryrefslogtreecommitdiff
path: root/include/asm-powerpc/auxvec.h
diff options
context:
space:
mode:
authorKumar Gala <galak@freescale.com>2005-09-20 15:45:26 -0500
committerPaul Mackerras <paulus@samba.org>2005-09-21 19:21:09 +1000
commit3f58542f476f9a77d5c59b62165e67290d7f55ed (patch)
treeca00e3030db63229d9ab9a2ab33aa3eef28c7ccc /include/asm-powerpc/auxvec.h
parent8b22cc010599075806b84cfe2955ab87ab07172c (diff)
[PATCH] powerpc: merge include/asm-ppc*/auxvec.h into include/asm-powerpc/auxvec.h
Signed-off-by: Kumar 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.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/include/asm-powerpc/auxvec.h b/include/asm-powerpc/auxvec.h
new file mode 100644
index 000000000000..19a099b62cd6
--- /dev/null
+++ b/include/asm-powerpc/auxvec.h
@@ -0,0 +1,19 @@
+#ifndef _ASM_POWERPC_AUXVEC_H
+#define _ASM_POWERPC_AUXVEC_H
+
+/*
+ * We need to put in some extra aux table entries to tell glibc what
+ * the cache block size is, so it can use the dcbz instruction safely.
+ */
+#define AT_DCACHEBSIZE 19
+#define AT_ICACHEBSIZE 20
+#define AT_UCACHEBSIZE 21
+/* A special ignored type value for PPC, for glibc compatibility. */
+#define AT_IGNOREPPC 22
+
+/* The vDSO location. We have to use the same value as x86 for glibc's
+ * sake :-)
+ */
+#define AT_SYSINFO_EHDR 33
+
+#endif