diff options
author | Peter Oruba <peter.oruba@amd.com> | 2008-07-28 12:44:15 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-07-28 13:57:54 -0400 |
commit | c3b71bcec0380836caac9b524fa1585b469b7456 (patch) | |
tree | 58732978338de5a49722bcdb8ac77a24d9a01983 /arch/x86/kernel/microcode.c | |
parent | 8e61028dfdc6b8ca996abfe8f9baef6792ea2904 (diff) |
x86: move per CPU microcode structure declaration to header file
This structure will be later used by other modules as well and
needs therfore to be moved out to a header file.
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 'arch/x86/kernel/microcode.c')
-rw-r--r-- | arch/x86/kernel/microcode.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/arch/x86/kernel/microcode.c b/arch/x86/kernel/microcode.c index 74e6a77bf190..4e7b2f65fed6 100644 --- a/arch/x86/kernel/microcode.c +++ b/arch/x86/kernel/microcode.c | |||
@@ -125,13 +125,7 @@ static DEFINE_SPINLOCK(microcode_update_lock); | |||
125 | /* no concurrent ->write()s are allowed on /dev/cpu/microcode */ | 125 | /* no concurrent ->write()s are allowed on /dev/cpu/microcode */ |
126 | static DEFINE_MUTEX(microcode_mutex); | 126 | static DEFINE_MUTEX(microcode_mutex); |
127 | 127 | ||
128 | static struct ucode_cpu_info { | 128 | static struct ucode_cpu_info ucode_cpu_info[NR_CPUS]; |
129 | int valid; | ||
130 | unsigned int sig; | ||
131 | unsigned int pf; | ||
132 | unsigned int rev; | ||
133 | struct microcode *mc; | ||
134 | } ucode_cpu_info[NR_CPUS]; | ||
135 | 129 | ||
136 | static void collect_cpu_info(int cpu_num) | 130 | static void collect_cpu_info(int cpu_num) |
137 | { | 131 | { |