From: H. Peter Anvin Date: Tue, 1 Sep 2009 20:31:52 +0000 (-0700) Subject: x86, msr: fix msr-reg.S compilation with gas 2.16.1 X-Git-Tag: accepted/tizen/common/20141203.182822~14826^2~9 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f6909f394c2d4a0a71320797df72d54c49c5927e;p=platform%2Fkernel%2Flinux-arm64.git 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 Cc: Borislav Petkov --- diff --git a/arch/x86/lib/msr-reg.S b/arch/x86/lib/msr-reg.S index 9e8cdcf..d5eaf53 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