Messages in this thread |  | | Subject | Re: [PATCH 2/2] x86/speculation: Simplify indirect_branch_prediction_barrier() | From | David Woodhouse <> | Date | Sat, 27 Jan 2018 12:32:41 +0000 |
| |
On Fri, 2018-01-26 at 21:08 +0100, Borislav Petkov wrote: > > --- a/arch/x86/include/asm/processor.h > +++ b/arch/x86/include/asm/processor.h > @@ -971,4 +971,8 @@ bool xen_set_default_idle(void); > > void stop_this_cpu(void *dummy); > void df_debug(struct pt_regs *regs, long error_code); > + > +#ifdef CONFIG_RETPOLINE > +void __ibp_barrier(void); > +#endif > #endif /* _ASM_X86_PROCESSOR_H */
Did I already say that needs to live in asm-prototypes.h? And it needs to be exported to modules, I think.[unhandled content-type:application/x-pkcs7-signature] |  |