xref: /linux/arch/s390/include/asm/cpu.h (revision ca55b2fef3a9373fcfc30f82fd26bc7fccbda732)
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 #ifndef __ASSEMBLY__
12 
13 #include <linux/types.h>
14 
15 struct cpuid
16 {
17 	unsigned int version :	8;
18 	unsigned int ident   : 24;
19 	unsigned int machine : 16;
20 	unsigned int unused  : 16;
21 } __attribute__ ((packed, aligned(8)));
22 
23 #endif /* __ASSEMBLY__ */
24 #endif /* _ASM_S390_CPU_H */
25