提交 3193a98d 编写于 作者: H Heiko Carstens 提交者: Martin Schwidefsky

s390/exceptions: sort exception table at build time

Follow x86 and MIPS and sort the main exception table at build time.
Signed-off-by: NHeiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: NMartin Schwidefsky <schwidefsky@de.ibm.com>
上级 d5274369
...@@ -89,6 +89,7 @@ config S390 ...@@ -89,6 +89,7 @@ config S390
select HAVE_MEMBLOCK_NODE_MAP select HAVE_MEMBLOCK_NODE_MAP
select HAVE_CMPXCHG_LOCAL select HAVE_CMPXCHG_LOCAL
select ARCH_DISCARD_MEMBLOCK select ARCH_DISCARD_MEMBLOCK
select BUILDTIME_EXTABLE_SORT
select ARCH_INLINE_SPIN_TRYLOCK select ARCH_INLINE_SPIN_TRYLOCK
select ARCH_INLINE_SPIN_TRYLOCK_BH select ARCH_INLINE_SPIN_TRYLOCK_BH
select ARCH_INLINE_SPIN_LOCK select ARCH_INLINE_SPIN_LOCK
......
...@@ -455,7 +455,6 @@ void __init startup_init(void) ...@@ -455,7 +455,6 @@ void __init startup_init(void)
init_kernel_storage_key(); init_kernel_storage_key();
lockdep_init(); lockdep_init();
lockdep_off(); lockdep_off();
sort_main_extable();
setup_lowcore_early(); setup_lowcore_early();
setup_facility_list(); setup_facility_list();
detect_machine_type(); detect_machine_type();
......
...@@ -247,6 +247,7 @@ do_file(char const *const fname) ...@@ -247,6 +247,7 @@ do_file(char const *const fname)
case EM_X86_64: case EM_X86_64:
custom_sort = sort_x86_table; custom_sort = sort_x86_table;
break; break;
case EM_S390:
case EM_MIPS: case EM_MIPS:
break; break;
} /* end switch */ } /* end switch */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册