Loading...
1/*
2 * Copyright IBM Corp. 2000,2009
3 * Author(s): Hartmut Penner <hp@de.ibm.com>,
4 * Martin Schwidefsky <schwidefsky@de.ibm.com>,
5 * Christian Ehrhardt <ehrhardt@de.ibm.com>,
6 */
7
8#ifndef _ASM_S390_CPU_H
9#define _ASM_S390_CPU_H
10
11#define MAX_CPU_ADDRESS 255
12
13#ifndef __ASSEMBLY__
14
15#include <linux/types.h>
16
17struct 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#endif /* __ASSEMBLY__ */
26#endif /* _ASM_S390_CPU_H */
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
16struct 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 */