Heiko Carstens | e86a6ed | 2009-09-11 10:29:04 +0200 | [diff] [blame] | 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 | |
Heiko Carstens | 4bb5e07 | 2009-09-11 10:29:03 +0200 | [diff] [blame] | 8 | #ifndef _ASM_S390_CPU_H |
| 9 | #define _ASM_S390_CPU_H |
| 10 | |
| 11 | #define MAX_CPU_ADDRESS 255 |
| 12 | |
Heiko Carstens | e86a6ed | 2009-09-11 10:29:04 +0200 | [diff] [blame] | 13 | #ifndef __ASSEMBLY__ |
| 14 | |
| 15 | #include <linux/types.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 | } __packed; |
| 24 | |
| 25 | #endif /* __ASSEMBLY__ */ |
Heiko Carstens | 4bb5e07 | 2009-09-11 10:29:03 +0200 | [diff] [blame] | 26 | #endif /* _ASM_S390_CPU_H */ |