diff options
author | Keir Fraser <keir.fraser@citrix.com> | 2009-07-13 11:31:34 +0100 |
---|---|---|
committer | Keir Fraser <keir.fraser@citrix.com> | 2009-07-13 11:31:34 +0100 |
commit | 749182393c49818b03172986aa2ba6afe3615c5d (patch) | |
tree | db7fa0f934e8550c33ad098fd552417b18fc37eb /xen/include/asm-x86/microcode.h | |
parent | 0e20e0e1c7f61dbce3d1bbc64a280c9af92df3ce (diff) | |
download | xen-749182393c49818b03172986aa2ba6afe3615c5d.tar.gz xen-749182393c49818b03172986aa2ba6afe3615c5d.tar.bz2 xen-749182393c49818b03172986aa2ba6afe3615c5d.zip |
x86: move ucode_cpu_info into per-CPU space
Signed-off-by: Jan Beulich <jbeulich@novell.com>
Diffstat (limited to 'xen/include/asm-x86/microcode.h')
-rw-r--r-- | xen/include/asm-x86/microcode.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/xen/include/asm-x86/microcode.h b/xen/include/asm-x86/microcode.h index 980da227dc..f4a9481473 100644 --- a/xen/include/asm-x86/microcode.h +++ b/xen/include/asm-x86/microcode.h @@ -1,6 +1,8 @@ #ifndef ASM_X86__MICROCODE_H #define ASM_X86__MICROCODE_H +#include <xen/percpu.h> + struct cpu_signature; struct ucode_cpu_info; @@ -88,7 +90,7 @@ struct ucode_cpu_info { } mc; }; -extern struct ucode_cpu_info ucode_cpu_info[]; +DECLARE_PER_CPU(struct ucode_cpu_info, ucode_cpu_info); extern const struct microcode_ops *microcode_ops; #endif /* ASM_X86__MICROCODE_H */ |