]> bbs.cooldavid.org Git - net-next-2.6.git/commitdiff
x86, msr: fix msr-reg.S compilation with gas 2.16.1
authorH. Peter Anvin <hpa@zytor.com>
Tue, 1 Sep 2009 20:31:52 +0000 (13:31 -0700)
committerH. Peter Anvin <hpa@zytor.com>
Tue, 1 Sep 2009 20:37:21 +0000 (13:37 -0700)
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>
arch/x86/lib/msr-reg.S

index 9e8cdcf5d73c52baa253ac38cf59d2f24400ac9f..d5eaf53aa670603a02f583acc4ad04e840b9d18f 100644 (file)
@@ -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