Skip to contentSkip to conversation

ACPI / ia64: Get rid of the acpi_map_cpu() wrapper

PATCH New Mathias Krause 1 participant 1 message Jul 19, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/3 ACPI / ia64: Get rid of the acpi_map_cpu() wrapper

The __cpuinit annotation was dropped from acpi_processor_set_pdc() in commit fe7bf106ebc2 ("acpi: delete __cpuinit usage from all acpi files"), vanishing the need for the __ref annotated acpi_map_cpu() wrapper.

Cc "Rafael J. Wysocki" <[email protected]>
Cc Paul Gortmaker <[email protected]>
---
 arch/ia64/kernel/acpi.c |    8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)
arch/ia64/kernel/acpi.c +1 -7
index b1698bc042c8..c706e24f6b2d 100644
@@ -865,7 +865,7 @@ __init void prefill_possible_map(void)
 		set_cpu_possible(i, true);
 }
 
-static int _acpi_map_lsapic(acpi_handle handle, int physid, int *pcpu)
+int acpi_map_cpu(acpi_handle handle, phys_cpuid_t physid, int *pcpu)
 {
 	cpumask_t tmp_map;
 	int cpu;
@@ -885,12 +885,6 @@ static int _acpi_map_lsapic(acpi_handle handle, int physid, int *pcpu)
 	*pcpu = cpu;
 	return (0);
 }
-
-/* wrapper to silence section mismatch warning */
-int __ref acpi_map_cpu(acpi_handle handle, phys_cpuid_t physid, int *pcpu)
-{
-	return _acpi_map_lsapic(handle, physid, pcpu);
-}
 EXPORT_SYMBOL(acpi_map_cpu);
 
 int acpi_unmap_cpu(int cpu)
Signature · 1 line
1.7.10.4