From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756061AbbIBTfN (ORCPT ); Wed, 2 Sep 2015 15:35:13 -0400 Received: from mail.kapsi.fi ([217.30.184.167]:39967 "EHLO mail.kapsi.fi" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756011AbbIBTfL (ORCPT ); Wed, 2 Sep 2015 15:35:11 -0400 Date: Wed, 2 Sep 2015 22:34:53 +0300 From: Mikko Rapeli To: Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , x86@kernel.org Cc: linux-kernel@vger.kernel.org Subject: Re: [PATCH 94/98] HACK arch/x86/include/uapi/asm/sigcontext32.h: remove _fpx_sw_bytes from union Message-ID: <20150902193453.GZ9187@lakka.kapsi.fi> References: <1433000370-19509-1-git-send-email-mikko.rapeli@iki.fi> <1433000370-19509-95-git-send-email-mikko.rapeli@iki.fi> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1433000370-19509-95-git-send-email-mikko.rapeli@iki.fi> X-SA-Exim-Connect-IP: 2001:1bc8:1004::1 X-SA-Exim-Mail-From: mikko.rapeli@iki.fi X-SA-Exim-Scanned: No (on mail.kapsi.fi); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 > --- > 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 >