Files
linux-apfs/drivers/acpi
Luck, Tony 7a0b73a49a ACPI: Fix section mismatch error for acpi_early_processor_set_pdc()
Alex Chiang introduced acpi_early_processor_set_pdc() in commit:
 ACPI: processor: call _PDC early
 78f1699659

But this results in a section mismatch:

WARNING: drivers/acpi/acpi.o(.text+0xa9c1): Section mismatch in reference from the
function acpi_early_processor_set_pdc() to the variable .cpuinit.data:processor_idle_dmi_table
The function acpi_early_processor_set_pdc() references
the variable __cpuinitdata processor_idle_dmi_table.
This is often because acpi_early_processor_set_pdc lacks a __cpuinitdata
annotation or the annotation of processor_idle_dmi_table is wrong.

The only caller of acpi_early_processor_set_pdc() is acpi_bus_init() which
is an "__init" function. So the correct fix here is to mark
acpi_early_processor_set_pdc() "__init" too.

Signed-off-by: Tony Luck <tony.luck@intel.com>
Acked-by: Alex Chiang <achiang@hp.com>
Signed-off-by: Len Brown <len.brown@intel.com>
2010-01-16 02:00:44 -05:00
..
2009-12-15 22:27:39 -05:00
2009-10-06 13:55:56 -04:00
2009-12-16 03:21:22 -05:00
2009-12-16 00:07:21 -05:00
2009-12-16 03:33:28 -05:00
2009-12-22 03:24:08 -05:00
2009-12-22 03:24:08 -05:00
2009-12-16 14:22:32 -05:00
2009-06-17 23:32:23 -04:00
2009-12-16 14:05:11 -05:00
2009-09-19 00:37:13 -04:00