diff options
author | Peter Oruba <peter.oruba@amd.com> | 2008-07-28 12:44:18 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-07-28 13:57:55 -0400 |
commit | d4ee36686853d5714437c4409f17ad42bfaf4211 (patch) | |
tree | 2df0c234d47ed2f76825d176fd8694ebe2ee84c4 /include/asm-x86 | |
parent | 3e135d887c973b525d43fbb67dfc5972694882f6 (diff) |
x86: structure declaration renaming
Renamed common structures to vendor specific naming scheme
so other vendors will be able to use the same naming
convention.
Signed-off-by: Peter Oruba <peter.oruba@amd.com>
Cc: Tigran Aivazian <tigran@aivazian.fsnet.co.uk>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
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 | }; |