On Tue, Mar 29, 2016 at 2:14 PM, Denys Vlasenko <dvlas...@redhat.com> wrote: > Recent change to uapi/linux/swab.h needs this. > > Signed-off-by: Denys Vlasenko <dvlas...@redhat.com> > CC: Josh Boyer <jwbo...@fedoraproject.org> > CC: Thomas Graf <tg...@suug.ch> > CC: Peter Zijlstra <pet...@infradead.org> > CC: David Rientjes <rient...@google.com> > CC: Arnd Bergmann <a...@arndb.de> > CC: Ingo Molnar <mi...@kernel.org> > CC: Andrew Morton <a...@linux-foundation.org> > CC: Linus Torvalds <torva...@linux-foundation.org> > CC: linux-kernel@vger.kernel.org > --- > include/linux/compiler.h | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/include/linux/compiler.h b/include/linux/compiler.h > index b5ff988..2cb6ba4 100644 > --- a/include/linux/compiler.h > +++ b/include/linux/compiler.h > @@ -397,12 +397,12 @@ static __always_inline void __write_once_size(volatile > void *p, void *res, int s > */ > #define noinline_for_stack noinline > > +#endif /* __KERNEL__ */ > + > #ifndef __always_inline > #define __always_inline inline > #endif > > -#endif /* __KERNEL__ */ > -
Did you test this by installing the headers with 'make headers-install' and trying to build something with the newly installed headers? As I said in my other email, I don't see how changes to this particular file are reflected in anything that gets installed in /usr/include by the uapi mechanism. josh