Skip to contentSkip to conversation

x86, msr: Fix msr-reg.S compilation with gas 2.16.1, on 32-bit too

tip:x86/cpu tip-bot for Ingo Molnar 1 participant 1 message Sep 3, 2009 1 message not in the archive x86

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
Commit-ID:  8adf65cfae2d6c2ec5c06e4521f089c62f9eff05
Gitweb:     http://git.kernel.org/tip/8adf65cfae2d6c2ec5c06e4521f089c62f9eff05
Author:     Ingo Molnar <[email protected]>
AuthorDate: Thu, 3 Sep 2009 21:26:34 +0200
Committer:  Ingo Molnar <[email protected]>
CommitDate: Thu, 3 Sep 2009 21:26:34 +0200

x86, msr: Fix msr-reg.S compilation with gas 2.16.1, on 32-bit too

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 <[email protected]>
Cc: H. Peter Anvin <[email protected]>
LKML-Reference: <[email protected]>

---
 arch/x86/lib/msr-reg.S |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
arch/x86/lib/msr-reg.S +1 -1
index d5eaf53..69fa106 100644
@@ -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