projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
22d9fd3
)
asmlinkage: Make main_extable_sort_needed visible
author
Andi Kleen
<ak@linux.intel.com>
Sat, 8 Feb 2014 07:52:04 +0000
(08:52 +0100)
committer
H. Peter Anvin
<hpa@linux.intel.com>
Fri, 14 Feb 2014 02:13:22 +0000
(18:13 -0800)
main_extable_sort_needed is used by the build system and needs
to be a normal ELF symbol. Make it visible so that LTO
does not remove or mangle it.
Signed-off-by: Andi Kleen <ak@linux.intel.com>
Link:
http://lkml.kernel.org/r/1391845930-28580-8-git-send-email-ak@linux.intel.com
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
kernel/extable.c
patch
|
blob
|
blame
|
history
diff --git
a/kernel/extable.c
b/kernel/extable.c
index 763faf037ec1cccb135b98d1deccf339f69cd2e5..d8a6446adbcbebe00410d0c8b3cef7b5bfb4b1c9 100644
(file)
--- a/
kernel/extable.c
+++ b/
kernel/extable.c
@@
-36,7
+36,7
@@
extern struct exception_table_entry __start___ex_table[];
extern struct exception_table_entry __stop___ex_table[];
/* Cleared by build time tools if the table is already sorted. */
-u32 __initdata main_extable_sort_needed = 1;
+u32 __initdata
__visible
main_extable_sort_needed = 1;
/* Sort the kernel's built-in exception table */
void __init sort_main_extable(void)