diff options
author | Andi Kleen <ak@linux.intel.com> | 2013-08-05 18:02:36 -0400 |
---|---|---|
committer | H. Peter Anvin <hpa@linux.intel.com> | 2013-08-06 17:18:17 -0400 |
commit | 9e1a431de08e2a49ca8dab0edc813c8cb96ba369 (patch) | |
tree | 87282a7618acd52756808eca1c3c392358a5ada0 | |
parent | 1599e8fc84dd9c2954df0d4b2db52f7f6719f339 (diff) |
x86, asmlinkage: Change dotraplinkage into __visible on 32bit
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>
-rw-r--r-- | arch/x86/include/asm/traps.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/arch/x86/include/asm/traps.h b/arch/x86/include/asm/traps.h index 88eae2aec619..7036cb60cd87 100644 --- a/arch/x86/include/asm/traps.h +++ b/arch/x86/include/asm/traps.h | |||
@@ -6,11 +6,7 @@ | |||
6 | #include <asm/debugreg.h> | 6 | #include <asm/debugreg.h> |
7 | #include <asm/siginfo.h> /* TRAP_TRACE, ... */ | 7 | #include <asm/siginfo.h> /* TRAP_TRACE, ... */ |
8 | 8 | ||
9 | #ifdef CONFIG_X86_32 | 9 | #define dotraplinkage __visible |
10 | #define dotraplinkage | ||
11 | #else | ||
12 | #define dotraplinkage asmlinkage | ||
13 | #endif | ||
14 | 10 | ||
15 | asmlinkage void divide_error(void); | 11 | asmlinkage void divide_error(void); |
16 | asmlinkage void debug(void); | 12 | asmlinkage void debug(void); |