Skip to content

Commit

Permalink
x86, msr: Fix msr-reg.S compilation with gas 2.16.1, on 32-bit too
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Ingo Molnar committed Sep 3, 2009
1 parent ae4b688 commit 8adf65c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/x86/lib/msr-reg.S
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8adf65c

Please sign in to comment.