Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933365AbbBQJK4 (ORCPT ); Tue, 17 Feb 2015 04:10:56 -0500 Received: from mout.kundenserver.de ([212.227.126.130]:60701 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756258AbbBQJKw (ORCPT ); Tue, 17 Feb 2015 04:10:52 -0500 From: Arnd Bergmann To: Mikko Rapeli Cc: linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org, linux-api@vger.kernel.org Subject: Re: [PATCH 45/45] include/uapi/asm-generic/ucontext.h: include signal.h and sigcontext.h Date: Tue, 17 Feb 2015 10:10:42 +0100 Message-ID: <3121580.utRRJPcIC6@wuerfel> User-Agent: KMail/4.11.5 (Linux/3.16.0-10-generic; KDE/4.11.5; x86_64; ; ) In-Reply-To: <1424127948-22484-46-git-send-email-mikko.rapeli@iki.fi> References: <1424127948-22484-1-git-send-email-mikko.rapeli@iki.fi> <1424127948-22484-46-git-send-email-mikko.rapeli@iki.fi> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Provags-ID: V03:K0:1Ssd8ZhBPhQKhCb4bmzDS2KYiAz9JQzr3P98YkkxhRSwNu0lWMz m2h8HDocaMq9QheGWWn2dX+3YPbNagp+HdT34U9P9xajubPe88XjICaTIBLbGdfZExXDsOp sjTG5YDxuytr6lvRFiDLFnC7+ssigZlmlura6k5/+DVfPeVrSvCkQ5n6tQjkNSwf1WLggjU X31TZaudfjEGXWwNzW1Wg== X-UI-Out-Filterresults: notjunk:1; Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 767 Lines: 23 On Tuesday 17 February 2015 00:05:48 Mikko Rapeli wrote: > #ifndef __ASM_GENERIC_UCONTEXT_H > #define __ASM_GENERIC_UCONTEXT_H > > +#include > +#include > + > struct ucontext { > Including another asm-generic header here is a bad idea: it breaks if an architecture overrides asm/signal.h with its own version but wants to use the asm-generic/ucontext.h file. It would be best to just use linux/signal.h here, which includes the correct architecture specific files. Arnd -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/