aboutsummaryrefslogtreecommitdiffstats
path: root/arch/alpha/include/uapi/asm/auxvec.h
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2012-12-17 13:47:09 +0000
committerDavid Howells <dhowells@redhat.com>2012-12-17 14:12:19 +0000
commit96433f6ee49032d7a8bda76de2b05cfde2914354 (patch)
tree8e274f12a098c0cb7010c97f11b5af6463b5c169 /arch/alpha/include/uapi/asm/auxvec.h
parentmm: fix kernel BUG at huge_memory.c:1474! (diff)
downloadlinux-dev-96433f6ee49032d7a8bda76de2b05cfde2914354.tar.xz
linux-dev-96433f6ee49032d7a8bda76de2b05cfde2914354.zip
UAPI: (Scripted) Disintegrate arch/alpha/include/asm
Signed-off-by: David Howells <dhowells@redhat.com> Acked-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Thomas Gleixner <tglx@linutronix.de> Acked-by: Michael Kerrisk <mtk.manpages@gmail.com> Acked-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com> Acked-by: Dave Jones <davej@redhat.com> Acked-by: Michael Cree <mcree@orcon.net.nz> Acked-by: Matt Turner <mattst88@gmail.com>
Diffstat (limited to 'arch/alpha/include/uapi/asm/auxvec.h')
-rw-r--r--arch/alpha/include/uapi/asm/auxvec.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/arch/alpha/include/uapi/asm/auxvec.h b/arch/alpha/include/uapi/asm/auxvec.h
new file mode 100644
index 000000000000..a3a579dfdb4d
--- /dev/null
+++ b/arch/alpha/include/uapi/asm/auxvec.h
@@ -0,0 +1,26 @@
+#ifndef __ASM_ALPHA_AUXVEC_H
+#define __ASM_ALPHA_AUXVEC_H
+
+/* Reserve these numbers for any future use of a VDSO. */
+#if 0
+#define AT_SYSINFO 32
+#define AT_SYSINFO_EHDR 33
+#endif
+
+/* More complete cache descriptions than AT_[DIU]CACHEBSIZE. If the
+ value is -1, then the cache doesn't exist. Otherwise:
+
+ bit 0-3: Cache set-associativity; 0 means fully associative.
+ bit 4-7: Log2 of cacheline size.
+ bit 8-31: Size of the entire cache >> 8.
+ bit 32-63: Reserved.
+*/
+
+#define AT_L1I_CACHESHAPE 34
+#define AT_L1D_CACHESHAPE 35
+#define AT_L2_CACHESHAPE 36
+#define AT_L3_CACHESHAPE 37
+
+#define AT_VECTOR_SIZE_ARCH 4 /* entries in ARCH_DLINFO */
+
+#endif /* __ASM_ALPHA_AUXVEC_H */