* Mikko Rapeli <mikko.rap...@iki.fi> wrote: > > > +++ 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> > > > > There's no asm/sigcontext.h file anymore if you apply my patches - but we > > could > > reintroduce it to make the copy of UAPI headers to user-space work as-is. > > Actually there is, in user space :)
I mean in the kernel arch/x86/include/asm/sigcontext.h is gone (at least in that series), we use the UAPI header directly. > Then a nice solution would be for the kernel side wrapper to do like you > said (on top of your changes on master): > > --- /dev/null > +++ b/arch/x86/include/asm/sigcontext.h > @@ -0,0 +1,6 @@ > +#ifndef _ASM_X86_SIGCONTEXT_H > +#define _ASM_X86_SIGCONTEXT_H > + > +#include <uapi/asm/sigcontext.h> > + > +#endif /* _ASM_X86_SIGCONTEXT_H */ > > And I guess logically this belongs to commit "x86/headers: Remove > <asm/sigcontext.h>". Yeah, will do this, plus some comments explaining that this is really just so that we can keep the UAPI side compatible with a 'straight user-space copying of the header files'. This won't affect the kernel as we won't include asm/sigcontext.h directly. (And even if we do, there's no harm done.) Agreed? Thanks, Ingo -- 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/