From: Keir Fraser Subject: Re: [PATCH] Partial fix for compat build non-portability Date: Wed, 10 Jan 2007 18:27:30 +0000 Message-ID: References: <20070110175045.GA31773@totally.trollied.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20070110175045.GA31773@totally.trollied.org.uk> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: John Levon , Jan Beulich Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On 10/1/07 17:50, "John Levon" wrote: > On Wed, Jan 10, 2007 at 05:43:04PM +0000, Jan Beulich wrote: > >> I certainly dislike this hunk - I intentionally didn't do it this way > > globs in makefiles are a horrible idea. Well, I would agree when it comes to filtered globs at least. If the file list has particular constraints I think a white list is clearer than a pattern-based black list. While we're on the subject of the compat code, I wonder whether some of it might not better belong under arch/x86 (and even arch/x86/x86_64). The concept of what 'compat' means in an architecture-neutral sense isn't well defined, I believe. For example, the particular structs and headers that need special treatment will surely be different between platforms that choose to use CONFIG_COMPAT (if indeed any other than pae-on-x86-64 ever materialises, which is itself quite a doubtful assumption). Something to think about at least... -- Keir