Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932264AbWEWSxL (ORCPT ); Tue, 23 May 2006 14:53:11 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932265AbWEWSxK (ORCPT ); Tue, 23 May 2006 14:53:10 -0400 Received: from rhlx01.fht-esslingen.de ([129.143.116.10]:18616 "EHLO rhlx01.fht-esslingen.de") by vger.kernel.org with ESMTP id S932264AbWEWSxJ (ORCPT ); Tue, 23 May 2006 14:53:09 -0400 Date: Tue, 23 May 2006 20:53:08 +0200 From: Andreas Mohr To: Andrew Morton Cc: linux-kernel@vger.kernel.org, linux-acpi@vger.kernel.org Subject: [PATCH] -mm: make ACPI errata __read_mostly Message-ID: <20060523185308.GA10827@rhlx01.fht-esslingen.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.1i X-Priority: none Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1001 Lines: 26 Hello all, this may be quite useful given frequent ACPI idle invocation... i386 run-tested on 2.6.17-rc4-mm3. Signed-off-by: Andreas Mohr diff -urN linux-2.6.17-rc4-mm3.orig/drivers/acpi/processor_core.c linux-2.6.17-rc4-mm3.my/drivers/acpi/processor_core.c --- linux-2.6.17-rc4-mm3.orig/drivers/acpi/processor_core.c 2006-05-23 19:14:14.000000000 +0200 +++ linux-2.6.17-rc4-mm3/drivers/acpi/processor_core.c 2006-05-22 15:47:05.000000000 +0200 @@ -110,7 +110,7 @@ }; struct acpi_processor *processors[NR_CPUS]; -struct acpi_processor_errata errata; +struct acpi_processor_errata errata __read_mostly; /* -------------------------------------------------------------------------- Errata Handling - 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/