[PATCH 2/3] ia64, topology: Remove bogus __ref annotations

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <minipli@xxxxxxxxxxxxxx>
Cc: Paul Gortmaker <paul.gortmaker@xxxxxxxxxxxxx>
---
 arch/ia64/kernel/topology.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/ia64/kernel/topology.c b/arch/ia64/kernel/topology.c
index c01fe8991244..f11660071d0b 100644
--- a/arch/ia64/kernel/topology.c
+++ b/arch/ia64/kernel/topology.c
@@ -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
-- 
1.7.10.4

--
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Kernel]     [Sparc Linux]     [DCCP]     [Linux ARM]     [Yosemite News]     [Linux SCSI]     [Linux x86_64]     [Linux for Ham Radio]

  Powered by Linux