xref: /openbmc/linux/arch/s390/include/asm/cpu.h (revision 8730046c)
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