diff options
author | Peter Zijlstra <peterz@infradead.org> | 2022-07-14 12:20:19 +0200 |
---|---|---|
committer | Richard Weinberger <richard@nod.at> | 2022-07-17 23:43:03 +0200 |
commit | 637285e7f8d6da70a70c64e7895cb0672357a1f7 (patch) | |
tree | 25d14379b5dbb0635a4c333b0608308f068725cf /arch/um | |
parent | dda520d07b95072a0b63f6c52a8eb566d08ea897 (diff) | |
download | linux-637285e7f8d6da70a70c64e7895cb0672357a1f7.tar.bz2 |
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.c | 4 |
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) { } |