Skip to contentSkip to conversation

x86/ia32: remove unused argument in macro

PATCH New Ramkumar Ramachandra 2 participants 2 messages Jul 10, 2013 – Jul 24, 2013 x86

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 x86/ia32: remove unused argument in macro

3fe26fa (x86: get rid of pt_regs argument in sigreturn variants, 2012-11-12) changed the body of PTREGSCALL to drop arg, and updated the callsites; unfortunately, it forgot to update the macro argument list, leaving an unused argument. Fix this.

Cc Al Viro <[email protected]>
Cc Thomas Gleixner <[email protected]>
Cc Ingo Molnar <[email protected]>

---
Trivial.

 arch/x86/ia32/ia32entry.S | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/x86/ia32/ia32entry.S +1 -1
index 474dc1b..4299eb0 100644
@@ -452,7 +452,7 @@ ia32_badsys:
 
 	CFI_ENDPROC
 	
-	.macro PTREGSCALL label, func, arg
+	.macro PTREGSCALL label, func
 	ALIGN
 GLOBAL(\label)
 	leaq \func(%rip),%rax
Signature · 1 line
1.8.3.2.736.g869de25
#1 lore raw

[tip:x86/asm] x86/ia32/asm: Remove unused argument in macro

x86/ia32/asm: Remove unused argument in macro
Commit-ID:  d2475b8ff81ebeed88d8fcbc22876aced5a0807a
Gitweb:     http://git.kernel.org/tip/d2475b8ff81ebeed88d8fcbc22876aced5a0807a
Author:     Ramkumar Ramachandra <[email protected]>
AuthorDate: Wed, 10 Jul 2013 23:34:28 +0530
Committer:  Ingo Molnar <[email protected]>
CommitDate: Tue, 23 Jul 2013 11:23:21 +0200

x86/ia32/asm: Remove unused argument in macro

Commit 3fe26fa ("x86: get rid of pt_regs argument in sigreturn variants", from 2012-11-12) changed the body of PTREGSCALL to drop arg, and updated the callsites; unfortunately, it forgot to update the macro argument list, leaving an unused argument. Fix this.

---
 arch/x86/ia32/ia32entry.S | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/x86/ia32/ia32entry.S +1 -1
index 474dc1b..4299eb0 100644
@@ -452,7 +452,7 @@ ia32_badsys:
 
 	CFI_ENDPROC
 	
-	.macro PTREGSCALL label, func, arg
+	.macro PTREGSCALL label, func
 	ALIGN
 GLOBAL(\label)
 	leaq \func(%rip),%rax