]> git.baikalelectronics.ru Git - kernel.git/commit
um: Add missing apply_returns()
authorPeter Zijlstra <peterz@infradead.org>
Thu, 14 Jul 2022 10:20:19 +0000 (12:20 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 23 Jul 2022 10:54:14 +0000 (12:54 +0200)
commitd98206120c1341811a56ec032d9b13aa9da9ec55
treee1a9f2e3b2819bd5c3495606821cd7adf92e8cdf
parent48ef7ff730fcc7d3dbf1ba0dc0311e7176f039e1
um: Add missing apply_returns()

commit 8eb48ab735cb5c73525a5310348c1ce4cd54066b upstream.

Implement apply_returns() stub for UM, just like all the other patching
routines.

Fixes: f27938f128c2 ("x86: Undo return-thunk damage")
Reported-by: Randy Dunlap <rdunlap@infradead.org)
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Borislav Petkov <bp@suse.de>
Link: https://lore.kernel.org/r/Ys%2Ft45l%2FgarIrD0u@worktop.programming.kicks-ass.net
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/um/kernel/um_arch.c