cpu.h 620 B

12345678910111213141516171819202122232425262728
  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. #ifndef _ASM_S390_CPU_H
  9. #define _ASM_S390_CPU_H
  10. #ifndef __ASSEMBLY__
  11. #include <linux/types.h>
  12. #include <linux/jump_label.h>
  13. struct cpuid
  14. {
  15. unsigned int version : 8;
  16. unsigned int ident : 24;
  17. unsigned int machine : 16;
  18. unsigned int unused : 16;
  19. } __attribute__ ((packed, aligned(8)));
  20. DECLARE_STATIC_KEY_FALSE(cpu_has_bear);
  21. #endif /* __ASSEMBLY__ */
  22. #endif /* _ASM_S390_CPU_H */