lkml.org 
[lkml]   [2010]   [Jan]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[patch 4/6] acpi: Fix section mismatch
 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@suse.com>
---
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



\
 
 \ /
  Last update: 2010-01-13 02:05    [from the cache]
©2003-2014 Jasper Spaans. Advertise on this site