diff options
author | Peter Zijlstra <peterz@infradead.org> | 2023-07-19 22:15:38 +0200 |
---|---|---|
committer | Peter Zijlstra <peterz@infradead.org> | 2023-07-20 23:03:50 +0200 |
commit | 2e7e5bbb1c3c8d502edeb5c0670eac4995134b6f (patch) | |
tree | 49f390144bd21e3c987e15d85b3022584b5d2d7c /drivers/usb/cdns3/cdns3-pci-wrap.c | |
parent | fdf0eaf11452d72945af31804e2a1048ee1b574c (diff) |
x86: Fix kthread unwind
The rewrite of ret_from_form() misplaced an unwind hint which caused
all kthread stack unwinds to be marked unreliable, breaking
livepatching.
Restore the annotation and add a comment to explain the how and why of
things.
Fixes: 3aec4ecb3d1f ("x86: Rewrite ret_from_fork() in C")
Reported-by: Petr Mladek <pmladek@suse.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Tested-by: Petr Mladek <pmladek@suse.com>
Link: https://lkml.kernel.org/r/20230719201538.GA3553016@hirez.programming.kicks-ass.net
Diffstat (limited to 'drivers/usb/cdns3/cdns3-pci-wrap.c')
0 files changed, 0 insertions, 0 deletions