[patch 4/6] acpi: Fix section mismatch

From: Jeff Mahoney
Date: Tue Jan 12 2010 - 20:01:33 EST


acpi_early_processor_set_pdc uses processor_idle_dmi_table, which is
marked __cpuinitdata. It's only called by acpi_bus_init, which is __init.
We mark it __cpuinit.

Signed-off-by: Jeff Mahoney <jeffm@xxxxxxxx>
---
drivers/acpi/processor_pdc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

--- a/drivers/acpi/processor_pdc.c
+++ b/drivers/acpi/processor_pdc.c
@@ -151,7 +151,7 @@ early_init_pdc(acpi_handle handle, u32 l
return AE_OK;
}

-void acpi_early_processor_set_pdc(void)
+void __cpuinit acpi_early_processor_set_pdc(void)
{
/*
* Check whether the system is DMI table. If yes, OSPM


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/