ACPI: fix section mismatch in processor_core.c:acpi_processor_hotplug_notify
authorSam Ravnborg <sam@ravnborg.org>
Sun, 17 Feb 2008 12:22:48 +0000 (13:22 +0100)
committerLen Brown <len.brown@intel.com>
Thu, 21 Feb 2008 07:55:26 +0000 (02:55 -0500)
commitb95e9e8d94484c2823be67416f25e9756db149dc
treecddb24d65e27818652efc851788619138207b03e
parente80af3a8dbbbf431b2070cc760699f01c5a6ac69
ACPI: fix section mismatch in processor_core.c:acpi_processor_hotplug_notify

Fix following warning:
WARNING: vmlinux.o(.text+0x55586c): Section mismatch in reference from the function acpi_processor_hotplug_notify() to the function .cpuinit.text:acpi_processor_start()

acpi_processor_hotplug_notify() may safely reference __cpuinit
stuff as it ids defined inside an ACPI_HOTPLUG_CPU block.
So annotate it __ref to silence the warning.

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/processor_core.c