1b2441318SGreg Kroah-Hartman /* SPDX-License-Identifier: GPL-2.0 */ 2e86a6ed6SHeiko Carstens /* 3e86a6ed6SHeiko Carstens * Copyright IBM Corp. 2000, 2009 4e86a6ed6SHeiko Carstens * Author(s): Hartmut Penner <hp@de.ibm.com>, 5e86a6ed6SHeiko Carstens * Martin Schwidefsky <schwidefsky@de.ibm.com>, 6e86a6ed6SHeiko Carstens * Christian Ehrhardt <ehrhardt@de.ibm.com>, 7e86a6ed6SHeiko Carstens */ 8e86a6ed6SHeiko Carstens 94bb5e07bSHeiko Carstens #ifndef _ASM_S390_CPU_H 104bb5e07bSHeiko Carstens #define _ASM_S390_CPU_H 114bb5e07bSHeiko Carstens 12e86a6ed6SHeiko Carstens #ifndef __ASSEMBLY__ 13e86a6ed6SHeiko Carstens 14e86a6ed6SHeiko Carstens #include <linux/types.h> 15*3b051e89SSven Schnelle #include <linux/jump_label.h> 16e86a6ed6SHeiko Carstens 17e86a6ed6SHeiko Carstens struct cpuid 18e86a6ed6SHeiko Carstens { 19e86a6ed6SHeiko Carstens unsigned int version : 8; 20e86a6ed6SHeiko Carstens unsigned int ident : 24; 21e86a6ed6SHeiko Carstens unsigned int machine : 16; 22e86a6ed6SHeiko Carstens unsigned int unused : 16; 23178514d7SMartin Schwidefsky } __attribute__ ((packed, aligned(8))); 24e86a6ed6SHeiko Carstens 25*3b051e89SSven Schnelle DECLARE_STATIC_KEY_FALSE(cpu_has_bear); 26*3b051e89SSven Schnelle 27e86a6ed6SHeiko Carstens #endif /* __ASSEMBLY__ */ 284bb5e07bSHeiko Carstens #endif /* _ASM_S390_CPU_H */ 29