diff options
Diffstat (limited to 'arch/i386/lib/msr-on-cpu.c')
-rw-r--r-- | arch/i386/lib/msr-on-cpu.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/arch/i386/lib/msr-on-cpu.c b/arch/i386/lib/msr-on-cpu.c index 2092ea15ba85..1c46bda409ff 100644 --- a/arch/i386/lib/msr-on-cpu.c +++ b/arch/i386/lib/msr-on-cpu.c | |||
@@ -3,7 +3,6 @@ | |||
3 | #include <linux/smp.h> | 3 | #include <linux/smp.h> |
4 | #include <asm/msr.h> | 4 | #include <asm/msr.h> |
5 | 5 | ||
6 | #ifdef CONFIG_SMP | ||
7 | struct msr_info { | 6 | struct msr_info { |
8 | u32 msr_no; | 7 | u32 msr_no; |
9 | u32 l, h; | 8 | u32 l, h; |
@@ -54,17 +53,6 @@ void wrmsr_on_cpu(unsigned int cpu, u32 msr_no, u32 l, u32 h) | |||
54 | } | 53 | } |
55 | preempt_enable(); | 54 | preempt_enable(); |
56 | } | 55 | } |
57 | #else | ||
58 | void rdmsr_on_cpu(unsigned int cpu, u32 msr_no, u32 *l, u32 *h) | ||
59 | { | ||
60 | rdmsr(msr_no, *l, *h); | ||
61 | } | ||
62 | |||
63 | void wrmsr_on_cpu(unsigned int cpu, u32 msr_no, u32 l, u32 h) | ||
64 | { | ||
65 | wrmsr(msr_no, l, h); | ||
66 | } | ||
67 | #endif | ||
68 | 56 | ||
69 | EXPORT_SYMBOL(rdmsr_on_cpu); | 57 | EXPORT_SYMBOL(rdmsr_on_cpu); |
70 | EXPORT_SYMBOL(wrmsr_on_cpu); | 58 | EXPORT_SYMBOL(wrmsr_on_cpu); |