| 1 |
/* SPDX-License-Identifier: GPL-2.0 */ |
| 2 |
/* |
| 3 |
* Copyright IBM Corp. 2000, 2009 |
| 4 |
* Author(s): Hartmut Penner <[email protected]>, |
| 5 |
* Martin Schwidefsky <[email protected]>, |
| 6 |
* Christian Ehrhardt <[email protected]>, |
| 7 |
*/ |
| 8 |
|
| 9 |
#ifndef _ASM_S390_CPU_H |
| 10 |
#define _ASM_S390_CPU_H |
| 11 |
|
| 12 |
#ifndef __ASSEMBLER__ |
| 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 /* __ASSEMBLER__ */ |
| 28 |
#endif /* _ASM_S390_CPU_H */ |