diff options
author | Brian Gerst <brgerst@gmail.com> | 2010-07-17 09:03:27 -0400 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2010-07-21 21:23:40 -0700 |
commit | cfaa71ee9794472598d3966c3315cd6bd8f953d3 (patch) | |
tree | 77991fa2648ffcb8bdcb7d76b9e896393402143d /arch/x86/kernel/acpi | |
parent | 8c06585d6431addadd94903843dfbcd315b42d4e (diff) |
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.S | 2 |
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 580b4e29601..28595d6df47 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: |