Re: [PATCH 1/3] x86, msr: add rd/wrmsr interfaces with presetregisters

From: Andrew Morton
Date: Thu Sep 03 2009 - 18:56:11 EST

On Mon, 31 Aug 2009 09:50:09 +0200
Borislav Petkov <petkovbb@xxxxxxxxxxxxxx> wrote:

> +.macro op_safe_regs op:req


GNU assembler 2.16.1

I get

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


diff -puN arch/x86/lib/msr-reg.S~a arch/x86/lib/msr-reg.S
--- a/arch/x86/lib/msr-reg.S~a
+++ a/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
pushl_cfi %ebx

fixed it.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at