Loading
Revert "x86/alternative: Make custom return thunk unconditional"
stable inclusion from stable-v5.10.211 commit dd1a169b4496afea2a7a4f841cdad236ef322e6c category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/IAF2J4 Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=dd1a169b4496afea2a7a4f841cdad236ef322e6c -------------------------------- This reverts commit 08f7cfd44f77b2796582bc26164fdef44dd33b6c. Revert the backport of upstream commit: 095b8303 ("x86/alternative: Make custom return thunk unconditional") in order to backport the full version now that 770ae1b7 ("x86/returnthunk: Allow different return thunks") has been backported. Revert it here so that the build breakage is kept at minimum. Signed-off-by:Borislav Petkov (AMD) <bp@alien8.de> Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by:
sanglipeng1 <sanglipeng1@jd.com>