On Sat, Sep 05, 2015 at 01:59:43PM +0200, Ingo Molnar wrote: > > * Mikko Rapeli <mikko.rap...@iki.fi> wrote: > > > > diff --git a/arch/x86/include/uapi/asm/sigcontext32.h > > > b/arch/x86/include/uapi/asm/sigcontext32.h > > > index a92b0f0dc09e..8b870175befa 100644 > > > --- a/arch/x86/include/uapi/asm/sigcontext32.h > > > +++ b/arch/x86/include/uapi/asm/sigcontext32.h > > > @@ -3,6 +3,6 @@ > > > > > > /* This is a legacy file - all the type definitions are in sigcontext.h: > > > */ > > > > > > -#include <asm/sigcontext.h> > > > +#include <uapi/asm/sigcontext.h> > > > > This needs to be without uapi directory in path. > > What do you mean?
There is not uapi in path in userspace so it fails to compile: cc -Wall -c -nostdinc -I /usr/lib/gcc/i586-linux-gnu/5/include -I /usr/lib/gcc/i 586-linux-gnu/5/include-fixed -I . -I ../headers_compile_test_include -I ../head ers_compile_test_include/i586-linux-gnu ./asm/sigcontext32.c In file included from ./asm/sigcontext32.c:1:0: ./asm/sigcontext32.h:6:33: fatal error: uapi/asm/sigcontext.h: No such file or d irectory compilation terminated. FAILED: ./asm/sigcontext32.h This is the fix: --- a/arch/x86/include/uapi/asm/sigcontext32.h +++ b/arch/x86/include/uapi/asm/sigcontext32.h @@ -3,6 +3,6 @@ /* This is a legacy file - all the type definitions are in sigcontext.h: */ -#include <uapi/asm/sigcontext.h> +#include <asm/sigcontext.h> #endif /* _ASM_X86_SIGCONTEXT32_H */ -Mikko -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/