From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752010AbbIEMLU (ORCPT ); Sat, 5 Sep 2015 08:11:20 -0400 Received: from mail.kapsi.fi ([217.30.184.167]:46343 "EHLO mail.kapsi.fi" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750938AbbIEMLP (ORCPT ); Sat, 5 Sep 2015 08:11:15 -0400 Date: Sat, 5 Sep 2015 15:11:08 +0300 From: Mikko Rapeli To: Ingo Molnar Cc: linux-kernel@vger.kernel.org, Andy Lutomirski , Andrew Morton , Denys Vlasenko , Brian Gerst , Peter Zijlstra , Borislav Petkov , "H. Peter Anvin" , Linus Torvalds , Oleg Nesterov , Thomas Gleixner Subject: Re: [PATCH 15/15] x86/headers: Remove Message-ID: <20150905121108.GD9187@lakka.kapsi.fi> References: <1441438363-9999-1-git-send-email-mingo@kernel.org> <1441438363-9999-16-git-send-email-mingo@kernel.org> <20150905105753.GC9187@lakka.kapsi.fi> <20150905115943.GA15548@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20150905115943.GA15548@gmail.com> 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 On Sat, Sep 05, 2015 at 01:59:43PM +0200, Ingo Molnar wrote: > > * Mikko Rapeli 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 > > > +#include > > > > 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 +#include #endif /* _ASM_X86_SIGCONTEXT32_H */ -Mikko