From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754865AbYGKDjS (ORCPT ); Thu, 10 Jul 2008 23:39:18 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753380AbYGKDjD (ORCPT ); Thu, 10 Jul 2008 23:39:03 -0400 Received: from rv-out-0506.google.com ([209.85.198.234]:43817 "EHLO rv-out-0506.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753309AbYGKDjB (ORCPT ); Thu, 10 Jul 2008 23:39:01 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:user-agent:cc:references:in-reply-to :mime-version:content-type:content-transfer-encoding :content-disposition:message-id; b=pbKlzYmOhQ2b03OFr1M4ZfTGcAuVI/7HkGuK46AiHQr2wS/ppW759fdC4wYxzts0J+ IuMLI45FNtnBph03MVjXcN6btqMDvXL1/rtFrUz5aU0B08WDNtOLmStpCl+nOr8Hb3nH C2yhQuhwKDiwC6dj/kw7c3XNddLZq7QkFUvOw= From: Yinghai Lu To: Ingo Molnar , Thomas Gleixner , "H. Peter Anvin" , Suresh Siddha Subject: [PATCH] x86: save slit Date: Thu, 10 Jul 2008 20:36:37 -0700 User-Agent: KMail/1.9.9 Cc: LKML References: <200807080141.05436.yhlu.kernel@gmail.com> <200807092016.36490.yhlu.kernel@gmail.com> <200807092017.51004.yhlu.kernel@gmail.com> In-Reply-To: <200807092017.51004.yhlu.kernel@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200807102036.37697.yhlu.kernel@gmail.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org in case we are using fixmap to read it. and that fixmap could be clearred by others. Signed-off-by: Yinghai Lu --- arch/x86/mm/srat_64.c | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) Index: linux-2.6/arch/x86/mm/srat_64.c =================================================================== --- linux-2.6.orig/arch/x86/mm/srat_64.c +++ linux-2.6/arch/x86/mm/srat_64.c @@ -100,7 +100,19 @@ static __init inline int srat_disabled(v /* Callback for SLIT parsing */ void __init acpi_numa_slit_init(struct acpi_table_slit *slit) { - acpi_slit = slit; + unsigned length; + unsigned long phys; + + length = slit->header.length; + phys = find_e820_area(0, max_pfn_mapped< LAPIC mapping */