author: Miles Chen <miles.chen@mediatek.com> 2021-09-24 15:43:38 -0700
committer: Linus Torvalds <torvalds@linux-foundation.org> 2021-09-24 16:13:35 -0700
commit: d09c38726c78effaf910a1e3f31e247b5b031d56
parent: 9c0f0a03e386f4e1df33db676401547e1b7800c6
Commit Summary:
Diffstat:
1 file changed, 4 insertions, 0 deletions
diff --git a/scripts/sorttable.c b/scripts/sorttable.c
index f355869c65cd..6ee4fa882919 100644
--- a/scripts/sorttable.c
+++ b/scripts/sorttable.c
@@ -54,6 +54,10 @@
#define EM_ARCV2 195
#endif
+#ifndef EM_RISCV
+#define EM_RISCV 243
+#endif
+
static uint32_t (*r)(const uint32_t *);
static uint16_t (*r2)(const uint16_t *);
static uint64_t (*r8)(const uint64_t *);