[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1307495401-2631-3-git-send-email-andi@firstfloor.org>
Date: Tue, 7 Jun 2011 18:10:01 -0700
From: Andi Kleen <andi@...stfloor.org>
To: linux-kernel@...r.kernel.org
Cc: Andi Kleen <ak@...ux.intel.com>, x86@...nel.org
Subject: [PATCH 3/3] x86: Change dotraplinkage into asmregparm for 32bit
From: Andi Kleen <ak@...ux.intel.com>
Now with asmregparm available again it's cleaner to explicitely
mark them as needing register params on 32bit.
Cc: x86@...nel.org
Signed-off-by: Andi Kleen <ak@...ux.intel.com>
---
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
#else
#define dotraplinkage asmlinkage
#endif
--
1.7.4.4
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists