Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S964850Ab2KNQ3I (ORCPT ); Wed, 14 Nov 2012 11:29:08 -0500 Received: from mx1.redhat.com ([209.132.183.28]:24757 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S964820Ab2KNQ3H (ORCPT ); Wed, 14 Nov 2012 11:29:07 -0500 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: <50A39627.6020809@imgtec.com> References: <50A39627.6020809@imgtec.com> <50A0D634.20005@synopsys.com> <509251CA.8050008@synopsys.com> <18137.1349203013@warthog.procyon.org.uk> ,<8419.1352387261@warthog.procyon.org.uk> <14356.1352416788@warthog.procyon.org.uk> <9377.1352726040@warthog.procyon.org.uk> To: James Hogan Cc: dhowells@redhat.com, Vineet Gupta , "arnd@arndb.de" , "linux-arch@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: Re: [arc-linux-dev] Re: UAPI for new arches (was Re: [GIT PULL] User API Disintegrate: Preparatory patches) Date: Wed, 14 Nov 2012 16:28:57 +0000 Message-ID: <17758.1352910537@warthog.procyon.org.uk> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1057 Lines: 25 James Hogan wrote: > The disintegration scripts strip out the #ifdef __KERNEL__ from the > headers in both uapi/ and the old directories. However there are still a > bunch of unexported headers through the tree which have #ifdef > __KERNEL__ in them, usually guarding the entire file (just grep > __KERNEL__ in arch/). > > Is this something that you're already planning to eliminate? We have a > few in the metag tree too, and now that uapi/ is nicely separated I'm > not sure if it's worth removing the __KERNEL__ guards or keeping them to > match other architectures. I would like to remove the __KERNEL__ guards from KAPI files - they should not be necessary there. In the UAPI files, it will, unfortunately, be necessary to keep some of the __KERNEL__ guards that remain. David -- 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/