summaryrefslogtreecommitdiff
path: root/scripts/sorttable.c
diff options
context:
space:
mode:
authorJisheng Zhang <jszhang@kernel.org>2021-08-26 17:10:29 +0300
committerPalmer Dabbelt <palmerdabbelt@google.com>2021-09-11 09:59:44 +0300
commit54fed35fd3939398be292e4090b0b1c5ff2238b4 (patch)
tree2486e73ca29142aaa376e28886cc89f3affddd89 /scripts/sorttable.c
parentcbba17870881cd17bca24673ccb72859431da5bd (diff)
downloadlinux-54fed35fd3939398be292e4090b0b1c5ff2238b4.tar.xz
riscv: Enable BUILDTIME_TABLE_SORT
Enable BUILDTIME_TABLE_SORT to sort the exception table at build time rather than during boot. Signed-off-by: Jisheng Zhang <jszhang@kernel.org> Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
Diffstat (limited to 'scripts/sorttable.c')
-rw-r--r--scripts/sorttable.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/sorttable.c b/scripts/sorttable.c
index 0ef3abfc4a51..f355869c65cd 100644
--- a/scripts/sorttable.c
+++ b/scripts/sorttable.c
@@ -349,6 +349,7 @@ static int do_file(char const *const fname, void *addr)
case EM_ARM:
case EM_MICROBLAZE:
case EM_MIPS:
+ case EM_RISCV:
case EM_XTENSA:
break;
default: