Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S264053AbTIIVQs (ORCPT ); Tue, 9 Sep 2003 17:16:48 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S264394AbTIIVQs (ORCPT ); Tue, 9 Sep 2003 17:16:48 -0400 Received: from pasmtp.tele.dk ([193.162.159.95]:58897 "EHLO pasmtp.tele.dk") by vger.kernel.org with ESMTP id S264053AbTIIVQl (ORCPT ); Tue, 9 Sep 2003 17:16:41 -0400 Date: Tue, 9 Sep 2003 23:16:36 +0200 From: Sam Ravnborg To: Linus Torvalds Cc: davidm@hpl.hp.com, Jes Sorensen , "Siddha, Suresh B" , Christoph Hellwig , Andrew Morton , linux-kernel@vger.kernel.org, "Nakajima, Jun" , "Mallick, Asit K" Subject: Re: [Patch] asm workarounds in generic header files Message-ID: <20030909211636.GA4400@mars.ravnborg.org> Mail-Followup-To: Linus Torvalds , davidm@hpl.hp.com, Jes Sorensen , "Siddha, Suresh B" , Christoph Hellwig , Andrew Morton , linux-kernel@vger.kernel.org, "Nakajima, Jun" , "Mallick, Asit K" References: <16222.14136.21774.211178@napali.hpl.hp.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.1i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 773 Lines: 25 On Tue, Sep 09, 2003 at 01:33:51PM -0700, Linus Torvalds wrote: > > Then, have a config-time "set the right symbolic link" the same way we do > for "include/asm/", so that we can have a set of _clean_ > compiler-dependent abstractions. I would prefer to have a compiler.h like this: #if COMPILER=GCC-2.95 #include #endif Better one more indirection in a simple compiler.h file than another symlink. Symlinks should be used in rare cases only. Sam - 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/