]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
x86: move per CPU microcode structure declaration to header file
authorPeter Oruba <peter.oruba@amd.com>
Mon, 28 Jul 2008 16:44:15 +0000 (18:44 +0200)
committerIngo Molnar <mingo@elte.hu>
Mon, 28 Jul 2008 17:57:54 +0000 (19:57 +0200)
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>
arch/x86/kernel/microcode.c
include/asm-x86/microcode.h

index 74e6a77bf1906b25476a03566a5cdfc7ab9014a5..4e7b2f65fed6741148b8742ded9a98a81f6d1aa1 100644 (file)
@@ -125,13 +125,7 @@ static DEFINE_SPINLOCK(microcode_update_lock);
 /* no concurrent ->write()s are allowed on /dev/cpu/microcode */
 static DEFINE_MUTEX(microcode_mutex);
 
-static struct ucode_cpu_info {
-       int valid;
-       unsigned int sig;
-       unsigned int pf;
-       unsigned int rev;
-       struct microcode *mc;
-} ucode_cpu_info[NR_CPUS];
+static struct ucode_cpu_info ucode_cpu_info[NR_CPUS];
 
 static void collect_cpu_info(int cpu_num)
 {
index 1519ef0674bb9a4135aba19d0eafa7bd8eb93f73..d34a1fc1b173ff7dc24fa4311efa4ade346d9a23 100644 (file)
@@ -29,3 +29,11 @@ struct extended_sigtable {
        unsigned int            reserved[3];
        struct extended_signature sigs[0];
 };
+
+struct ucode_cpu_info {
+       int valid;
+       unsigned int sig;
+       unsigned int pf;
+       unsigned int rev;
+       struct microcode *mc;
+};