projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dda520d
)
um: Add missing apply_returns()
author
Peter Zijlstra
<peterz@infradead.org>
Thu, 14 Jul 2022 10:20:19 +0000
(12:20 +0200)
committer
Richard Weinberger
<richard@nod.at>
Sun, 17 Jul 2022 21:43:03 +0000
(23:43 +0200)
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>
arch/um/kernel/um_arch.c
patch
|
blob
|
history
diff --git
a/arch/um/kernel/um_arch.c
b/arch/um/kernel/um_arch.c
index
0760e24
..
9838967
100644
(file)
--- 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)
{
}