[PATCH 3/3] x86: Change dotraplinkage into asmregparm for 32bit

From: Andi Kleen
Date: Tue Jun 07 2011 - 21:11:38 EST

From: Andi Kleen <ak@xxxxxxxxxxxxxxx>

Now with asmregparm available again it's cleaner to explicitely
mark them as needing register params on 32bit.

Cc: x86@xxxxxxxxxx
Signed-off-by: Andi Kleen <ak@xxxxxxxxxxxxxxx>
arch/x86/include/asm/traps.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/x86/include/asm/traps.h b/arch/x86/include/asm/traps.h
index 0310da6..2d06195 100644
--- a/arch/x86/include/asm/traps.h
+++ b/arch/x86/include/asm/traps.h
@@ -5,7 +5,7 @@
#include <asm/siginfo.h> /* TRAP_TRACE, ... */

#ifdef CONFIG_X86_32
-#define dotraplinkage
+#define dotraplinkage asmregparm
#define dotraplinkage asmlinkage

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/