Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
x86/asm/32: Fix ANNOTATE_UNRET_SAFE use on 32-bit
commit 3131ef3 upstream. The build on x86_32 currently fails after commit 9bb2ec6 (objtool: Update Retpoline validation) with: arch/x86/kernel/../../x86/xen/xen-head.S:35: Error: no such instruction: `annotate_unret_safe' ANNOTATE_UNRET_SAFE is defined in nospec-branch.h. And head_32.S is missing this include. Fix this. Fixes: 9bb2ec6 ("objtool: Update Retpoline validation") Signed-off-by: Jiri Slaby <[email protected]> Signed-off-by: Borislav Petkov <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
- Loading branch information