treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / arch / s390 / include / asm / cpu.h
blob62228a884e0632b6f0bd7d83e266862bb34e78e9
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 */
9 #ifndef _ASM_S390_CPU_H
10 #define _ASM_S390_CPU_H
12 #ifndef __ASSEMBLY__
14 #include <linux/types.h>
16 struct cpuid
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)));
24 #endif /* __ASSEMBLY__ */
25 #endif /* _ASM_S390_CPU_H */