summaryrefslogtreecommitdiff
path: root/arch/x86/lib
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2009-09-02 00:31:52 +0400
committerH. Peter Anvin <hpa@zytor.com>2009-09-02 00:37:21 +0400
commitf6909f394c2d4a0a71320797df72d54c49c5927e (patch)
treed8bd3a13115de6bb9cadd8989b282d57f4519119 /arch/x86/lib
parentc931aaf0e1b11862077f6884b2cec22833080e23 (diff)
downloadlinux-f6909f394c2d4a0a71320797df72d54c49c5927e.tar.xz
x86, msr: fix msr-reg.S compilation with gas 2.16.1
msr-reg.S used the :req option on a macro argument, which wasn't supported by gas 2.16.1 (but apparently by some earlier versions of gas, just to be confusing.) It isn't necessary, so just remove it. Signed-off-by: H. Peter Anvin <hpa@zytor.com> Cc: Borislav Petkov <petkovbb@googlemail.com>
Diffstat (limited to 'arch/x86/lib')
-rw-r--r--arch/x86/lib/msr-reg.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/lib/msr-reg.S b/arch/x86/lib/msr-reg.S
index 9e8cdcf5d73c..d5eaf53aa670 100644
--- a/arch/x86/lib/msr-reg.S
+++ b/arch/x86/lib/msr-reg.S
@@ -11,7 +11,7 @@
* reg layout: u32 gprs[eax, ecx, edx, ebx, esp, ebp, esi, edi]
*
*/
-.macro op_safe_regs op:req
+.macro op_safe_regs op
ENTRY(native_\op\()_safe_regs)
CFI_STARTPROC
pushq_cfi %rbx