[tip:x86/cpu] x86, msr: Fix msr-reg.S compilation with gas 2.16.1, on 32-bit too

From: tip-bot for Ingo Molnar
Date: Thu Sep 03 2009 - 15:31:50 EST


Commit-ID: 8adf65cfae2d6c2ec5c06e4521f089c62f9eff05
Gitweb: http://git.kernel.org/tip/8adf65cfae2d6c2ec5c06e4521f089c62f9eff05
Author: Ingo Molnar <mingo@xxxxxxx>
AuthorDate: Thu, 3 Sep 2009 21:26:34 +0200
Committer: Ingo Molnar <mingo@xxxxxxx>
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 <petkovbb@xxxxxxxxxxxxxx>
Cc: H. Peter Anvin <hpa@xxxxxxxxx>
LKML-Reference: <tip-f6909f394c2d4a0a71320797df72d54c49c5927e@xxxxxxxxxxxxxx>
Signed-off-by: Ingo Molnar <mingo@xxxxxxx>


---
arch/x86/lib/msr-reg.S | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/x86/lib/msr-reg.S b/arch/x86/lib/msr-reg.S
index d5eaf53..69fa106 100644
--- a/arch/x86/lib/msr-reg.S
+++ b/arch/x86/lib/msr-reg.S
@@ -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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/