]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - arch/x86/kernel/acpi/boot.c
x86: Drop bogus __ref / __refdata annotations
[karo-tx-linux.git] / arch / x86 / kernel / acpi / boot.c
index e49ee24da85e17b247b8decc355dd15393e8f1ad..75e8bad537984de5b2c226c5b34f7e5984bf128d 100644 (file)
@@ -710,7 +710,7 @@ static void acpi_map_cpu2node(acpi_handle handle, int cpu, int physid)
 #endif
 }
 
-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)
 {
        int cpu;
 
@@ -726,12 +726,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)