diff options
| author | Heiko Carstens <heiko.carstens@de.ibm.com> | 2012-07-24 08:51:34 -0400 |
|---|---|---|
| committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2012-07-26 04:07:25 -0400 |
| commit | 3193a98dc8777815803738fdae654c6ba0feee76 (patch) | |
| tree | 57fd4f0efb02e2fe8d480905892176092f0a7973 | |
| parent | d5274369945a9c1cc05cb05c0d9713afe2f87db0 (diff) | |
s390/exceptions: sort exception table at build time
Follow x86 and MIPS and sort the main exception table at build time.
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
| -rw-r--r-- | arch/s390/Kconfig | 1 | ||||
| -rw-r--r-- | arch/s390/kernel/early.c | 1 | ||||
| -rw-r--r-- | scripts/sortextable.c | 1 |
3 files changed, 2 insertions, 1 deletions
diff --git a/arch/s390/Kconfig b/arch/s390/Kconfig index a39b4690c171..d6108593c099 100644 --- a/arch/s390/Kconfig +++ b/arch/s390/Kconfig | |||
| @@ -89,6 +89,7 @@ config S390 | |||
| 89 | select HAVE_MEMBLOCK_NODE_MAP | 89 | select HAVE_MEMBLOCK_NODE_MAP |
| 90 | select HAVE_CMPXCHG_LOCAL | 90 | select HAVE_CMPXCHG_LOCAL |
| 91 | select ARCH_DISCARD_MEMBLOCK | 91 | select ARCH_DISCARD_MEMBLOCK |
| 92 | select BUILDTIME_EXTABLE_SORT | ||
| 92 | select ARCH_INLINE_SPIN_TRYLOCK | 93 | select ARCH_INLINE_SPIN_TRYLOCK |
| 93 | select ARCH_INLINE_SPIN_TRYLOCK_BH | 94 | select ARCH_INLINE_SPIN_TRYLOCK_BH |
| 94 | select ARCH_INLINE_SPIN_LOCK | 95 | select ARCH_INLINE_SPIN_LOCK |
diff --git a/arch/s390/kernel/early.c b/arch/s390/kernel/early.c index bc95a8ebd9cc..83c3271c442b 100644 --- a/arch/s390/kernel/early.c +++ b/arch/s390/kernel/early.c | |||
| @@ -455,7 +455,6 @@ void __init startup_init(void) | |||
| 455 | init_kernel_storage_key(); | 455 | init_kernel_storage_key(); |
| 456 | lockdep_init(); | 456 | lockdep_init(); |
| 457 | lockdep_off(); | 457 | lockdep_off(); |
| 458 | sort_main_extable(); | ||
| 459 | setup_lowcore_early(); | 458 | setup_lowcore_early(); |
| 460 | setup_facility_list(); | 459 | setup_facility_list(); |
| 461 | detect_machine_type(); | 460 | detect_machine_type(); |
diff --git a/scripts/sortextable.c b/scripts/sortextable.c index 1ca9ceb95eb6..6acf83449105 100644 --- a/scripts/sortextable.c +++ b/scripts/sortextable.c | |||
| @@ -247,6 +247,7 @@ do_file(char const *const fname) | |||
| 247 | case EM_X86_64: | 247 | case EM_X86_64: |
| 248 | custom_sort = sort_x86_table; | 248 | custom_sort = sort_x86_table; |
| 249 | break; | 249 | break; |
| 250 | case EM_S390: | ||
| 250 | case EM_MIPS: | 251 | case EM_MIPS: |
| 251 | break; | 252 | break; |
| 252 | } /* end switch */ | 253 | } /* end switch */ |
