Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933303Ab3CHGqr (ORCPT ); Fri, 8 Mar 2013 01:46:47 -0500 Received: from mail-pb0-f45.google.com ([209.85.160.45]:54332 "EHLO mail-pb0-f45.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750988Ab3CHGqp (ORCPT ); Fri, 8 Mar 2013 01:46:45 -0500 Date: Thu, 7 Mar 2013 22:46:40 -0800 From: Tejun Heo To: Yinghai Lu Cc: Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , Andrew Morton , Thomas Renninger , Tang Chen , linux-kernel@vger.kernel.org, "Rafael J. Wysocki" , linux-acpi@vger.kernel.org Subject: Re: [PATCH 11/14] x86, acpi, numa: split SLIT handling out Message-ID: <20130308064640.GL14556@mtj.dyndns.org> References: <1362718720-27048-1-git-send-email-yinghai@kernel.org> <1362718720-27048-12-git-send-email-yinghai@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1362718720-27048-12-git-send-email-yinghai@kernel.org> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 721 Lines: 25 On Thu, Mar 07, 2013 at 08:58:37PM -0800, Yinghai Lu wrote: > +void __init acpi_numa_init_only_slit(void) > +{ > + /* SLIT: System Locality Information Table */ > + acpi_table_parse(ACPI_SIG_SLIT, acpi_parse_slit); > +} > + > +static int __init __acpi_numa_init(bool with_slit) > { > int cnt = 0; Hmmm.... how about just having the following two functions acpi_numa_init_srat(); acpi_numa_init_slit(); and update both x86 and ia64 to use the two functions? -- tejun -- 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/