Skip to content

Commit

Permalink
x86, msr: fix msr-reg.S compilation with gas 2.16.1
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
H. Peter Anvin committed Sep 1, 2009
1 parent c931aaf commit f6909f3
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 @@ -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
Expand Down

0 comments on commit f6909f3

Please sign in to comment.