[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <17758.1352910537@warthog.procyon.org.uk>
Date: Wed, 14 Nov 2012 16:28:57 +0000
From: David Howells <dhowells@...hat.com>
To: James Hogan <james.hogan@...tec.com>
Cc: dhowells@...hat.com, Vineet Gupta <Vineet.Gupta1@...opsys.com>,
"arnd@...db.de" <arnd@...db.de>,
"linux-arch@...r.kernel.org" <linux-arch@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [arc-linux-dev] Re: UAPI for new arches (was Re: [GIT PULL] User API Disintegrate: Preparatory patches)
James Hogan <james.hogan@...tec.com> 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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists