xref: /openbmc/linux/arch/s390/include/asm/cpu.h (revision c4c3c32d)
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 #include <linux/jump_label.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 } __attribute__ ((packed, aligned(8)));
24 
25 DECLARE_STATIC_KEY_FALSE(cpu_has_bear);
26 
27 #endif /* __ASSEMBLY__ */
28 #endif /* _ASM_S390_CPU_H */
29