sw64: fix incorrect gp after uretprobe triggered
Sunway inclusion category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/I56OLG -------------------------------- SW64 use r26 to calculate gp after function return, so r26 needs to be restored when uretprobe trampoline is hit. Since uretprobe is handled in generic code, we will modify r26 before we return to user space. Signed-off-by: NMao Minkai <maominkai@wxiat.com> Reviewed-by: NHe Sheng <hesheng@wxiat.com> Signed-off-by: NGu Zitao <guzitao@wxiat.com>
Showing
想要评论请 注册 或 登录