x86/retpoline: Move the retpoline thunk declarations to nospec-branch.h
authorPeter Zijlstra <peterz@infradead.org>
Tue, 26 Oct 2021 12:01:40 +0000 (14:01 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 23 Jul 2022 10:53:53 +0000 (12:53 +0200)
commit90ca76c83044cb49a50b31a171a8daa0adcc2c2f
tree35239dd5cd05002a5bde3f9943db1621327813ba
parent6a6fcb256301a3f2ca29a1c2adda71c6ab272ab7
x86/retpoline: Move the retpoline thunk declarations to nospec-branch.h

commit 6fda8a38865607db739be3e567a2387376222dbd upstream.

Because it makes no sense to split the retpoline gunk over multiple
headers.

Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Borislav Petkov <bp@suse.de>
Acked-by: Josh Poimboeuf <jpoimboe@redhat.com>
Tested-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/r/20211026120310.106290934@infradead.org
Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@canonical.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/x86/include/asm/asm-prototypes.h
arch/x86/include/asm/nospec-branch.h
arch/x86/net/bpf_jit_comp.c