aboutsummaryrefslogtreecommitdiffstats
path: root/arch/um
diff options
context:
space:
mode:
authorPeter Zijlstra <peterz@infradead.org>2022-07-14 12:20:19 +0200
committerRichard Weinberger <richard@nod.at>2022-07-17 23:43:03 +0200
commit637285e7f8d6da70a70c64e7895cb0672357a1f7 (patch)
tree25d14379b5dbb0635a4c333b0608308f068725cf /arch/um
parentum: add "noreboot" command line option for PANIC_TIMEOUT=-1 setups (diff)
downloadlinux-dev-637285e7f8d6da70a70c64e7895cb0672357a1f7.tar.xz
linux-dev-637285e7f8d6da70a70c64e7895cb0672357a1f7.zip
um: Add missing apply_returns()
Implement apply_returns() stub for UM, just like all the other patching routines. Fixes: 15e67227c49a ("x86: Undo return-thunk damage") Reported-by: Randy Dunlap <rdunlap@infradead.org) Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'arch/um')
-rw-r--r--arch/um/kernel/um_arch.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/um/kernel/um_arch.c b/arch/um/kernel/um_arch.c
index 0760e24f2eba..9838967d0b2f 100644
--- a/arch/um/kernel/um_arch.c
+++ b/arch/um/kernel/um_arch.c
@@ -432,6 +432,10 @@ void apply_retpolines(s32 *start, s32 *end)
{
}
+void apply_returns(s32 *start, s32 *end)
+{
+}
+
void apply_alternatives(struct alt_instr *start, struct alt_instr *end)
{
}