projects
/
platform
/
kernel
/
linux-exynos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1599e8f
)
x86, asmlinkage: Change dotraplinkage into __visible on 32bit
author
Andi Kleen
<ak@linux.intel.com>
Mon, 5 Aug 2013 22:02:36 +0000
(15:02 -0700)
committer
H. Peter Anvin
<hpa@linux.intel.com>
Tue, 6 Aug 2013 21:18:17 +0000
(14:18 -0700)
Mark 32bit dotraplinkage functions as __visible for LTO.
64bit already is using asmlinkage which includes it.
v2: Clean up (M.Marek)
Signed-off-by: Andi Kleen <ak@linux.intel.com>
Link:
http://lkml.kernel.org/r/1375740170-7446-3-git-send-email-andi@firstfloor.org
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
arch/x86/include/asm/traps.h
patch
|
blob
|
history
diff --git
a/arch/x86/include/asm/traps.h
b/arch/x86/include/asm/traps.h
index
88eae2a
..
7036cb6
100644
(file)
--- a/
arch/x86/include/asm/traps.h
+++ b/
arch/x86/include/asm/traps.h
@@
-6,11
+6,7
@@
#include <asm/debugreg.h>
#include <asm/siginfo.h> /* TRAP_TRACE, ... */
-#ifdef CONFIG_X86_32
-#define dotraplinkage
-#else
-#define dotraplinkage asmlinkage
-#endif
+#define dotraplinkage __visible
asmlinkage void divide_error(void);
asmlinkage void debug(void);