Alexander van Heukelum
d987402695
x86: avoid section mismatch involving arch_register_cpu
...
Avoid section mismatch involving arch_register_cpu.
Marking arch_register_cpu as __init and removing the export
for non-hotplug-cpu configurations makes the following warning
go away:
Section mismatch in reference from the function
arch_register_cpu() to the function .devinit.text:register_cpu()
The function arch_register_cpu() references
the function __devinit register_cpu().
This is often because arch_register_cpu lacks a __devinit
annotation or the annotation of register_cpu is wrong.
The only external user of arch_register_cpu in the tree is
in drivers/acpi/processor_core.c where it is guarded by
ACPI_HOTPLUG_CPU (which depends on HOTPLUG_CPU).
Signed-off-by: Alexander van Heukelum <heukelum@fastmail.fm>
CC: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2008-02-01 17:49:43 +01:00
..
2008-02-01 17:49:42 +01:00
2008-02-01 17:49:43 +01:00
2008-01-30 13:33:24 +01:00
2008-01-30 13:33:39 +01:00
2008-01-30 13:33:17 +01:00
2008-01-30 13:33:21 +01:00
2008-01-30 13:33:14 +01:00
2008-01-30 13:31:12 +01:00
2008-01-30 13:33:19 +01:00
2008-01-30 13:32:31 +01:00
2008-01-30 13:33:18 +01:00
2008-02-01 17:49:42 +01:00
2008-01-30 13:31:31 +01:00
2008-01-31 22:05:47 +01:00
2008-01-30 13:33:32 +01:00
2008-02-01 17:49:41 +01:00
2008-02-01 17:49:42 +01:00
2008-01-30 13:33:37 +01:00
2008-01-30 13:34:10 +01:00
2008-02-01 17:49:43 +01:00
2008-01-30 13:31:19 +01:00
2008-01-30 13:34:10 +01:00
2008-01-30 13:31:23 +01:00
2008-01-30 13:32:08 +01:00
2008-01-30 13:33:11 +01:00
2008-01-30 13:33:35 +01:00
2008-02-01 17:49:41 +01:00
2008-01-30 13:33:28 +01:00
2008-01-30 13:33:06 +01:00
2008-01-30 13:33:31 +01:00
2008-01-30 13:31:55 +01:00
2008-01-30 13:33:14 +01:00
2008-01-30 13:33:14 +01:00
2008-01-30 13:33:19 +01:00
2008-01-30 13:32:19 +01:00
2008-01-30 13:32:19 +01:00
2008-01-30 13:33:10 +01:00
2008-01-30 13:31:17 +01:00
2008-01-30 13:30:56 +01:00
2008-01-30 13:32:51 +01:00
2008-01-30 13:33:23 +01:00
2008-01-30 13:33:14 +01:00
2008-01-30 13:31:12 +01:00
2008-01-30 13:34:09 +01:00
2008-01-30 13:33:33 +01:00
2008-02-01 17:49:42 +01:00
2008-01-30 13:33:37 +01:00
2008-01-30 13:33:37 +01:00
2008-02-01 17:49:42 +01:00
2008-01-30 13:33:20 +01:00
2008-01-30 13:32:10 +01:00
2008-01-30 13:33:19 +01:00
2008-01-30 13:33:20 +01:00
2008-02-01 17:49:42 +01:00
2008-01-30 13:34:07 +01:00
2008-01-30 13:33:37 +01:00
2008-01-30 13:33:37 +01:00
2008-01-30 13:32:54 +01:00
2008-01-30 13:33:39 +01:00
2008-01-30 13:33:36 +01:00
2008-01-30 13:33:25 +01:00
2008-01-30 13:32:40 +01:00
2008-01-31 22:05:45 +01:00
2008-01-30 13:33:24 +01:00
2008-01-30 13:34:11 +01:00
2008-02-01 17:49:41 +01:00
2008-01-30 13:33:23 +01:00
2008-01-30 13:33:18 +01:00
2008-01-30 13:32:01 +01:00
2008-01-30 13:32:01 +01:00
2008-01-30 13:33:53 +01:00
2008-02-01 17:49:41 +01:00
2008-01-30 13:31:13 +01:00
2008-01-30 13:33:44 +01:00
2008-01-30 13:33:23 +01:00
2008-01-30 13:33:12 +01:00
2008-01-30 13:31:23 +01:00
2008-01-30 13:30:56 +01:00
2008-01-30 13:31:07 +01:00
2008-01-30 23:27:58 +01:00
2008-01-30 13:34:08 +01:00
2008-01-30 13:30:56 +01:00
2008-01-30 13:33:35 +01:00
2008-01-30 13:31:52 +01:00
2008-01-30 13:31:52 +01:00
2008-02-01 17:49:43 +01:00
2008-01-30 13:33:49 +01:00
2008-01-30 13:33:33 +01:00
2008-01-30 13:33:20 +01:00
2008-01-30 13:33:24 +01:00
2008-01-30 13:33:24 +01:00
2008-01-30 13:31:42 +01:00
2008-01-30 13:33:39 +01:00
2008-01-30 13:33:14 +01:00
2008-01-30 13:32:50 +01:00
2008-01-30 13:33:19 +01:00
2008-01-30 13:32:39 +01:00
2008-01-30 13:31:10 +01:00