ia64, topology: Remove bogus __ref annotations
PATCH 2/3 ia64, topology: Remove bogus __ref annotations
The __cpuinit annotation was dropped from map_cpu_to_node() and unmap_cpu_from_node() in commit ccce9bb83ed2 ("[IA64] Delete __cpuinit usage from all ia64 users"), vanishing the need for arch_register_cpu() and arch_unregister_cpu() to be annotated with __ref.
Signed-off-by Mathias Krause <[email protected]>
Cc Paul Gortmaker <[email protected]>
--- arch/ia64/kernel/topology.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
arch/ia64/kernel/topology.c +2 -2
@@ -40,7 +40,7 @@ EXPORT_SYMBOL_GPL(arch_fix_phys_package_id);#ifdef CONFIG_HOTPLUG_CPU -int __ref arch_register_cpu (int num) +int arch_register_cpu (int num) {#ifdef CONFIG_ACPI /*
@@ -55,7 +55,7 @@ int __ref arch_register_cpu(int num) }EXPORT_SYMBOL (arch_register_cpu); -void __ref arch_unregister_cpu (int num) +void arch_unregister_cpu (int num) {unregister_cpu (&sysfs_cpus[num].cpu);#ifdef CONFIG_ACPI
Signature · 1 line
1.7.10.4