Re: [PATCH 94/98] HACK arch/x86/include/uapi/asm/sigcontext32.h: remove _fpx_sw_bytes from union

From: Mikko Rapeli
Date: Wed Sep 02 2015 - 15:35:18 EST


Hi Ingo, Thomas and Peter,

Do you have any pointers for me how arch/x86/include/uapi/asm/sigcontext32.h
could be fixed to also compile in userspace? Is definition of _fpx_sw_bytes
or _fpstate_ia32 even needed there?

Instructions to reproduce the userspace build failure are here:
https://lkml.org/lkml/2015/5/30/98

-Mikko

On Sat, May 30, 2015 at 05:39:26PM +0200, Mikko Rapeli wrote:
> I have no idea what I'm doing but this fixes header file compilation in
> userspace:
>
> error: field âsw_reservedâ has incomplete type
> struct _fpx_sw_bytes sw_reserved;
>
> Signed-off-by: Mikko Rapeli <mikko.rapeli@xxxxxx>
> ---
> arch/x86/include/uapi/asm/sigcontext32.h | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/arch/x86/include/uapi/asm/sigcontext32.h b/arch/x86/include/uapi/asm/sigcontext32.h
> index ad1478c..ceaaa78 100644
> --- a/arch/x86/include/uapi/asm/sigcontext32.h
> +++ b/arch/x86/include/uapi/asm/sigcontext32.h
> @@ -45,7 +45,6 @@ struct _fpstate_ia32 {
> __u32 padding[44];
> union {
> __u32 padding2[12];
> - struct _fpx_sw_bytes sw_reserved;
> };
> };
>
> --
> 2.1.4
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/