Messages in this thread Patch in this message | | | Date | Tue, 23 May 2006 20:53:08 +0200 | From | Andreas Mohr <> | Subject | [PATCH] -mm: make ACPI errata __read_mostly |
| |
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 <andi@lisas.de>
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/
| |