The build on x86_32 currently fails after commit 9bb2ec608a20 (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.
Unified · Split
| @@ -23,6 +23,7 @@ · 22 unmodified lines | ||
| 23 | 23 | #include <asm/cpufeatures.h> |
| 24 | 24 | #include <asm/percpu.h> |
| 25 | 25 | #include <asm/nops.h> |
| 26 | +#include <asm/nospec-branch.h> | |
| 26 | 27 | #include <asm/bootparam.h> |
| 27 | 28 | #include <asm/export.h> |
| 28 | 29 | #include <asm/pgtable_32.h> |