summaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/acpi
diff options
context:
space:
mode:
authorBrian Gerst <brgerst@gmail.com>2010-07-17 15:03:27 +0200
committerH. Peter Anvin <hpa@zytor.com>2010-07-22 06:23:40 +0200
commitcfaa71ee9794472598d3966c3315cd6bd8f953d3 (patch)
tree77991fa2648ffcb8bdcb7d76b9e896393402143d /arch/x86/kernel/acpi
parentx86: Remove redundant K6 MSRs (diff)
downloadlinux-cfaa71ee9794472598d3966c3315cd6bd8f953d3.tar.xz
linux-cfaa71ee9794472598d3966c3315cd6bd8f953d3.zip
x86: Use symbolic MSR names
Use symbolic MSR names instead of hardcoding the MSR index. Signed-off-by: Brian Gerst <brgerst@gmail.com> LKML-Reference: <1279371808-24804-2-git-send-email-brgerst@gmail.com> Reviewed-by: Pekka Enberg <penberg@cs.helsinki.fi> Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'arch/x86/kernel/acpi')
-rw-r--r--arch/x86/kernel/acpi/realmode/wakeup.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/acpi/realmode/wakeup.S b/arch/x86/kernel/acpi/realmode/wakeup.S
index 580b4e296010..28595d6df47c 100644
--- a/arch/x86/kernel/acpi/realmode/wakeup.S
+++ b/arch/x86/kernel/acpi/realmode/wakeup.S
@@ -104,7 +104,7 @@ _start:
movl %eax, %ecx
orl %edx, %ecx
jz 1f
- movl $0xc0000080, %ecx
+ movl $MSR_EFER, %ecx
wrmsr
1: