From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753088AbbIJLSQ (ORCPT ); Thu, 10 Sep 2015 07:18:16 -0400 Received: from mx1.redhat.com ([209.132.183.28]:54004 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750831AbbIJLSN convert rfc822-to-8bit (ORCPT ); Thu, 10 Sep 2015 07:18:13 -0400 Organization: Red Hat UK Ltd. Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SI4 1TE, United Kingdom. Registered in England and Wales under Company Registration No. 3798903 From: David Howells In-Reply-To: <18147.1441883729@warthog.procyon.org.uk> References: <18147.1441883729@warthog.procyon.org.uk> <1441832902-28993-1-git-send-email-palmer@dabbelt.com> <2644177.lVCYzIBfPW@wuerfel> To: Palmer Dabbelt Cc: dhowells@redhat.com, arnd@arndb.de, 3chas3@gmail.com, hpa@zytor.com, mingo@redhat.com, plagnioj@jcrosoft.com, jikos@kernel.org, linux-api@vger.kernel.org, linux-arch@vger.kernel.org, linux-atm-general@lists.sourceforge.net, linux-fbdev@vger.kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, tglx@linutronix.de, tomi.valkeinen@ti.com, x86@kernel.org Subject: Re: [PATCH] Remove #ifdef CONFIG_64BIT from all asm-generic/fcntl.h MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <18246.1441883885.1@warthog.procyon.org.uk> Content-Transfer-Encoding: 8BIT Date: Thu, 10 Sep 2015 12:18:05 +0100 Message-ID: <18247.1441883885@warthog.procyon.org.uk> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org David Howells wrote: > Rather than iterating through all the rest of your patches and saying the same > thing, if there's something in a UAPI header that needs wrapping in __KERNEL__ > to exclude it from userspace's use, then it should be transferred to the > non-UAPI variant of that header (which should #include the UAPI variant). I should mention that there is the odd case where this is difficult to achieve. See include/uapi/linux/acct.h for an example... David