Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752572AbWAFWhL (ORCPT ); Fri, 6 Jan 2006 17:37:11 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752576AbWAFWhK (ORCPT ); Fri, 6 Jan 2006 17:37:10 -0500 Received: from lists.us.dell.com ([143.166.224.162]:43199 "EHLO lists.us.dell.com") by vger.kernel.org with ESMTP id S1752572AbWAFWhE (ORCPT ); Fri, 6 Jan 2006 17:37:04 -0500 Date: Fri, 6 Jan 2006 16:36:52 -0600 From: Matt Domsch To: "Tolentino, Matthew E" Cc: linux-ia64@vger.kernel.org, ak@suse.de, openipmi-developer@lists.sourceforge.net, akpm@osdl.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 2.6.15] ia64: use i386 dmi_scan.c Message-ID: <20060106223652.GA9230@lists.us.dell.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.9i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 948 Lines: 29 On Fri, Jan 06, 2006 at 11:03:17AM -0800, Tolentino, Matthew E wrote: > Matt Domsch <> wrote: > > Enable DMI table parsing on ia64. > ... > > +#ifndef CONFIG_EFI > > +void __init dmi_scan_machine(void) > > +{ > > char __iomem *p, *q; > > + int rc; > > Hi Matt, > > You could potentially consolidate the two dmi_scan_machine functions > and lose the ifdef (and duplication) by checking efi_enabled instead. > 'efi_enabled' is already ifdef'd in the EFI header (defined to 1 for > ia64) specifically for this situation. Good idea, patch to follow. -- Matt Domsch Software Architect Dell Linux Solutions linux.dell.com & www.dell.com/linux Linux on Dell mailing lists @ http://lists.us.dell.com - 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/