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