In commit 5c113fbeed7a ("fix cpu_chain section mismatch...") cpu_chain lost its __cpuinitdata annotation. This and the global __cpuinit annotation drop in v3.11 vanished the need to mark all users, including transitive ones like cpu_up(), with the __ref annotation. register_cpu() lost its __cpuinit annotation in commit ia83048ebd449 ("drivers: delete __cpuinit usage from all remaining drivers files"), allowing us to drop the __ref annotation of _debug_hotplug_cpu() and arch_register_cpu().
Signed-off-by: Mathias Krause <mini...@googlemail.com> Cc: Paul Gortmaker <paul.gortma...@windriver.com> --- arch/x86/kernel/topology.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/x86/kernel/topology.c b/arch/x86/kernel/topology.c index 649b010da00b..12cbe2b88c0f 100644 --- a/arch/x86/kernel/topology.c +++ b/arch/x86/kernel/topology.c @@ -57,7 +57,7 @@ __setup("cpu0_hotplug", enable_cpu0_hotplug); * * This is only called for debugging CPU offline/online feature. */ -int __ref _debug_hotplug_cpu(int cpu, int action) +int _debug_hotplug_cpu(int cpu, int action) { struct device *dev = get_cpu_device(cpu); int ret; @@ -104,7 +104,7 @@ static int __init debug_hotplug_cpu(void) late_initcall_sync(debug_hotplug_cpu); #endif /* CONFIG_DEBUG_HOTPLUG_CPU0 */ -int __ref arch_register_cpu(int num) +int arch_register_cpu(int num) { struct cpuinfo_x86 *c = &cpu_data(num); -- 1.7.10.4 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/