summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2023-04-22 19:11:47 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2023-04-22 19:11:47 -0700
commit622322f53c6d9ddd3c2a4aad852b3e1adbd56da7 (patch)
treea4832c609d0fbe488e33042fa11d6a8eafcfac66 /arch
parent2caeeb9d4a1bccd923b7918427f9e9ef7151ddd8 (diff)
parent6dcbd0a69c84a8ae7a442840a8cf6b1379dc8f16 (diff)
Merge tag 'mips-fixes_6.3_2' of git://git.kernel.org/pub/scm/linux/kernel/git/mips/linux
Pull MIPS fix from Thomas Bogendoerfer: "Fix for link errors" * tag 'mips-fixes_6.3_2' of git://git.kernel.org/pub/scm/linux/kernel/git/mips/linux: MIPS: Define RUNTIME_DISCARD_EXIT in LD script
Diffstat (limited to 'arch')
-rw-r--r--arch/mips/kernel/vmlinux.lds.S2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/mips/kernel/vmlinux.lds.S b/arch/mips/kernel/vmlinux.lds.S
index 52cbde60edf5..9ff55cb80a64 100644
--- a/arch/mips/kernel/vmlinux.lds.S
+++ b/arch/mips/kernel/vmlinux.lds.S
@@ -15,6 +15,8 @@
#define EMITS_PT_NOTE
#endif
+#define RUNTIME_DISCARD_EXIT
+
#include <asm-generic/vmlinux.lds.h>
#undef mips