aboutsummaryrefslogtreecommitdiffstats
path: root/arch/s390/include/asm/cpuid.h
diff options
context:
space:
mode:
authorIngo Molnar <[email protected]>2009-05-11 12:44:27 +0000
committerIngo Molnar <[email protected]>2009-05-11 12:44:31 +0000
commit41fb454ebe6024f5c1e3b3cbc0abc0da762e7b51 (patch)
tree51c50bcb67a5039448ddfa1869d7948cab1217e9 /arch/s390/include/asm/cpuid.h
parentx86 gart: reimplement IOMMU_LEAK feature by using DMA_API_DEBUG (diff)
parentLinux 2.6.30-rc5 (diff)
downloadkernel-41fb454ebe6024f5c1e3b3cbc0abc0da762e7b51.tar.gz
kernel-41fb454ebe6024f5c1e3b3cbc0abc0da762e7b51.zip
Merge commit 'v2.6.30-rc5' into core/iommu
Merge reason: core/iommu was on an .30-rc1 base, update it to .30-rc5 to refresh. Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'arch/s390/include/asm/cpuid.h')
-rw-r--r--arch/s390/include/asm/cpuid.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/arch/s390/include/asm/cpuid.h b/arch/s390/include/asm/cpuid.h
new file mode 100644
index 000000000000..07836a2e5222
--- /dev/null
+++ b/arch/s390/include/asm/cpuid.h
@@ -0,0 +1,25 @@
+/*
+ * Copyright IBM Corp. 2000,2009
+ * Author(s): Hartmut Penner <[email protected]>,
+ * Martin Schwidefsky <[email protected]>
+ * Christian Ehrhardt <[email protected]>
+ */
+
+#ifndef _ASM_S390_CPUID_H_
+#define _ASM_S390_CPUID_H_
+
+/*
+ * CPU type and hardware bug flags. Kept separately for each CPU.
+ * Members of this structure are referenced in head.S, so think twice
+ * before touching them. [mj]
+ */
+
+typedef struct
+{
+ unsigned int version : 8;
+ unsigned int ident : 24;
+ unsigned int machine : 16;
+ unsigned int unused : 16;
+} __attribute__ ((packed)) cpuid_t;
+
+#endif /* _ASM_S390_CPUID_H_ */