x86, msr: Fix msr-reg.S compilation with gas 2.16.1, on 32-bit too
authorIngo Molnar <mingo@elte.hu>
Thu, 3 Sep 2009 19:26:34 +0000 (21:26 +0200)
committerIngo Molnar <mingo@elte.hu>
Thu, 3 Sep 2009 19:26:34 +0000 (21:26 +0200)
The macro was defined in the 32-bit path as well - breaking the
build on 32-bit platforms:

  arch/x86/lib/msr-reg.S: Assembler messages:
  arch/x86/lib/msr-reg.S:53: Error: Bad macro parameter list
  arch/x86/lib/msr-reg.S:100: Error: invalid character '_' in mnemonic
  arch/x86/lib/msr-reg.S:101: Error: invalid character '_' in mnemonic

Cc: Borislav Petkov <petkovbb@googlemail.com>
Cc: H. Peter Anvin <hpa@zytor.com>
LKML-Reference: <tip-f6909f394c2d4a0a71320797df72d54c49c5927e@git.kernel.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/lib/msr-reg.S

index d5eaf53aa670603a02f583acc4ad04e840b9d18f..69fa10623f2181b23740bdf0a4ad5f7919120809 100644 (file)
@@ -50,7 +50,7 @@ ENDPROC(native_\op\()_safe_regs)
 
 #else /* X86_32 */
 
-.macro op_safe_regs op:req
+.macro op_safe_regs op
 ENTRY(native_\op\()_safe_regs)
        CFI_STARTPROC
        pushl_cfi %ebx