Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8adf65cf authored by Ingo Molnar's avatar Ingo Molnar
Browse files

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@googlemail.com>
Cc: H. Peter Anvin <hpa@zytor.com>
LKML-Reference: <tip-f6909f39@git.kernel.org>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent ae4b688d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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