diff options
author | Max Filippov <jcmvbkbc@gmail.com> | 2014-02-18 12:29:11 +0100 |
---|---|---|
committer | Max Filippov <jcmvbkbc@gmail.com> | 2014-04-01 23:35:50 +0200 |
commit | 25df8198f4b257cf6db4d4f000c53accfa9c28f8 (patch) | |
tree | cc5437c8e8e39d395424d87e3d8d3caa47a047b2 | |
parent | xtensa: export __{invalidate,flush}_dcache_range (diff) | |
download | linux-25df8198f4b257cf6db4d4f000c53accfa9c28f8.tar.xz linux-25df8198f4b257cf6db4d4f000c53accfa9c28f8.zip |
xtensa: enable sorting extable at build time
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Acked-by: David Daney <ddaney.cavm@gmail.com>
-rw-r--r-- | arch/xtensa/Kconfig | 1 | ||||
-rw-r--r-- | scripts/sortextable.c | 5 |
2 files changed, 6 insertions, 0 deletions
diff --git a/arch/xtensa/Kconfig b/arch/xtensa/Kconfig index c87ae7c6e5f9..df6f86ca6c1a 100644 --- a/arch/xtensa/Kconfig +++ b/arch/xtensa/Kconfig @@ -14,6 +14,7 @@ config XTENSA select GENERIC_PCI_IOMAP select ARCH_WANT_IPC_PARSE_VERSION select ARCH_WANT_OPTIONAL_GPIOLIB + select BUILDTIME_EXTABLE_SORT select CLONE_BACKWARDS select IRQ_DOMAIN select HAVE_OPROFILE diff --git a/scripts/sortextable.c b/scripts/sortextable.c index cc49062acdee..1052d4834a44 100644 --- a/scripts/sortextable.c +++ b/scripts/sortextable.c @@ -35,6 +35,10 @@ #define EM_ARCOMPACT 93 #endif +#ifndef EM_XTENSA +#define EM_XTENSA 94 +#endif + #ifndef EM_AARCH64 #define EM_AARCH64 183 #endif @@ -281,6 +285,7 @@ do_file(char const *const fname) case EM_AARCH64: case EM_MICROBLAZE: case EM_MIPS: + case EM_XTENSA: break; } /* end switch */ |