summaryrefslogtreecommitdiff
path: root/arch/powerpc/include/uapi/asm/auxvec.h
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2012-10-13 06:21:15 +0400
committerLinus Torvalds <torvalds@linux-foundation.org>2012-10-13 06:21:15 +0400
commitb6897130f0ac8ac33043be736770eb5f58164044 (patch)
treec922f449e0ba26e225795684f2ef46954406c7c0 /arch/powerpc/include/uapi/asm/auxvec.h
parentb4fe19f78e84813e720d0f0482da22194a7728e3 (diff)
parentfd3bc66f1dd5d062b5f0a7afc90c69d8da5b42db (diff)
downloadlinux-b6897130f0ac8ac33043be736770eb5f58164044.tar.xz
Merge branch 'merge' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc
Pull powerpc uapi disintegration from Benjamin Herrenschmidt. * 'merge' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc: UAPI: (Scripted) Disintegrate arch/powerpc/include/asm
Diffstat (limited to 'arch/powerpc/include/uapi/asm/auxvec.h')
-rw-r--r--arch/powerpc/include/uapi/asm/auxvec.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/arch/powerpc/include/uapi/asm/auxvec.h b/arch/powerpc/include/uapi/asm/auxvec.h
new file mode 100644
index 000000000000..ce17d2c9eb4e
--- /dev/null
+++ b/arch/powerpc/include/uapi/asm/auxvec.h
@@ -0,0 +1,21 @@
+#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
+
+#define AT_VECTOR_SIZE_ARCH 6 /* entries in ARCH_DLINFO */
+
+#endif