On Mon, Jan 08, 2018 at 05:06:46PM +0100, Borislav Petkov wrote: > On Mon, Jan 08, 2018 at 03:43:11PM +0100, Arnd Bergmann wrote: > > This comes from 0cbf2b590bea ("Map the vsyscall page with _PAGE_USER") > > which adds a line 'bool vsyscall_enabled(void) { return false; }' that > > presumably > > should have been 'static inline'. > > Yeah, thanks Arnd. > > @Greg, please fold this in: > > --- > diff --git a/arch/x86/include/asm/vsyscall.h b/arch/x86/include/asm/vsyscall.h > index d10cabb..4865e10 100644 > --- a/arch/x86/include/asm/vsyscall.h > +++ b/arch/x86/include/asm/vsyscall.h > @@ -19,7 +19,7 @@ static inline bool emulate_vsyscall(struct pt_regs *regs, unsigned long address) > { > return false; > } > -bool vsyscall_enabled(void) { return false; } > +static inline bool vsyscall_enabled(void) { return false; } > #endif > > #endif /* _ASM_X86_VSYSCALL_H */ > --- > Now folded in, many thanks! greg k-h