18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */ 28c2ecf20Sopenharmony_ci/* 38c2ecf20Sopenharmony_ci * Copyright IBM Corp. 2000, 2009 48c2ecf20Sopenharmony_ci * Author(s): Hartmut Penner <hp@de.ibm.com>, 58c2ecf20Sopenharmony_ci * Martin Schwidefsky <schwidefsky@de.ibm.com>, 68c2ecf20Sopenharmony_ci * Christian Ehrhardt <ehrhardt@de.ibm.com>, 78c2ecf20Sopenharmony_ci */ 88c2ecf20Sopenharmony_ci 98c2ecf20Sopenharmony_ci#ifndef _ASM_S390_CPU_H 108c2ecf20Sopenharmony_ci#define _ASM_S390_CPU_H 118c2ecf20Sopenharmony_ci 128c2ecf20Sopenharmony_ci#ifndef __ASSEMBLY__ 138c2ecf20Sopenharmony_ci 148c2ecf20Sopenharmony_ci#include <linux/types.h> 158c2ecf20Sopenharmony_ci 168c2ecf20Sopenharmony_cistruct cpuid 178c2ecf20Sopenharmony_ci{ 188c2ecf20Sopenharmony_ci unsigned int version : 8; 198c2ecf20Sopenharmony_ci unsigned int ident : 24; 208c2ecf20Sopenharmony_ci unsigned int machine : 16; 218c2ecf20Sopenharmony_ci unsigned int unused : 16; 228c2ecf20Sopenharmony_ci} __attribute__ ((packed, aligned(8))); 238c2ecf20Sopenharmony_ci 248c2ecf20Sopenharmony_ci#endif /* __ASSEMBLY__ */ 258c2ecf20Sopenharmony_ci#endif /* _ASM_S390_CPU_H */ 26