diff options
Diffstat (limited to 'include/asm-x86')
-rw-r--r-- | include/asm-x86/microcode.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/include/asm-x86/microcode.h b/include/asm-x86/microcode.h index d34a1fc1b173..ef77c6f438bf 100644 --- a/include/asm-x86/microcode.h +++ b/include/asm-x86/microcode.h | |||
@@ -1,4 +1,4 @@ | |||
1 | struct microcode_header { | 1 | struct microcode_header_intel { |
2 | unsigned int hdrver; | 2 | unsigned int hdrver; |
3 | unsigned int rev; | 3 | unsigned int rev; |
4 | unsigned int date; | 4 | unsigned int date; |
@@ -11,8 +11,8 @@ struct microcode_header { | |||
11 | unsigned int reserved[3]; | 11 | unsigned int reserved[3]; |
12 | }; | 12 | }; |
13 | 13 | ||
14 | struct microcode { | 14 | struct microcode_intel { |
15 | struct microcode_header hdr; | 15 | struct microcode_header_intel hdr; |
16 | unsigned int bits[0]; | 16 | unsigned int bits[0]; |
17 | }; | 17 | }; |
18 | 18 | ||
@@ -35,5 +35,7 @@ struct ucode_cpu_info { | |||
35 | unsigned int sig; | 35 | unsigned int sig; |
36 | unsigned int pf; | 36 | unsigned int pf; |
37 | unsigned int rev; | 37 | unsigned int rev; |
38 | struct microcode *mc; | 38 | union { |
39 | struct microcode_intel *mc_intel; | ||
40 | } mc; | ||
39 | }; | 41 | }; |