xref: /linux/arch/s390/include/asm/cpu.h (revision bcefe12eff5dca6fdfa94ed85e5bee66380d5cd9)
1 /*
2  *    Copyright IBM Corp. 2000,2009
3  *    Author(s): Hartmut Penner <hp@de.ibm.com>,
4  *		 Martin Schwidefsky <schwidefsky@de.ibm.com>,
5  *		 Christian Ehrhardt <ehrhardt@de.ibm.com>,
6  */
7 
8 #ifndef _ASM_S390_CPU_H
9 #define _ASM_S390_CPU_H
10 
11 #define MAX_CPU_ADDRESS 255
12 
13 #ifndef __ASSEMBLY__
14 
15 #include <linux/types.h>
16 
17 struct cpuid
18 {
19 	unsigned int version :	8;
20 	unsigned int ident   : 24;
21 	unsigned int machine : 16;
22 	unsigned int unused  : 16;
23 } __packed;
24 
25 #endif /* __ASSEMBLY__ */
26 #endif /* _ASM_S390_CPU_H */
27