Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759932AbYCZNT4 (ORCPT ); Wed, 26 Mar 2008 09:19:56 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755567AbYCZNTr (ORCPT ); Wed, 26 Mar 2008 09:19:47 -0400 Received: from pentafluge.infradead.org ([213.146.154.40]:59235 "EHLO pentafluge.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754068AbYCZNTr (ORCPT ); Wed, 26 Mar 2008 09:19:47 -0400 Subject: Re: why so many unexported headers checking __KERNEL__? From: David Woodhouse To: "Robert P. J. Day" Cc: Linux Kernel Mailing List In-Reply-To: References: <1206533324.9540.268.camel@pmac.infradead.org> <1206537022.9540.274.camel@pmac.infradead.org> Content-Type: text/plain Date: Wed, 26 Mar 2008 13:19:46 +0000 Message-Id: <1206537586.9540.280.camel@pmac.infradead.org> Mime-Version: 1.0 X-Mailer: Evolution 2.22.0 (2.22.0-1.fc9) Content-Transfer-Encoding: 7bit X-SRS-Rewrite: SMTP reverse-path rewritten from by pentafluge.infradead.org See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 801 Lines: 21 On Wed, 2008-03-26 at 09:16 -0400, Robert P. J. Day wrote: > well, since i already have the output from my script, i might toss > together some per-directory patches to start removing some of that. > this sounds more like a one-shot thing than adding permanent checking > to the build process. Makes sense. Remember, one of our goals is to move towards having files which are just _copied_ (header-y) instead of having these ifdefs. If, in your travels, you see a way you can split headers up more sensibly to achieve that, it would be good. -- dwmw2 -- 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/