x86, mmiotrace: silence section mismatch warning - leave_uniprocessor
[safe/jmp/linux-2.6] / arch / x86 / mm / mmio-mod.c
index e7397e1..635b50e 100644 (file)
@@ -430,7 +430,9 @@ static void enter_uniprocessor(void)
                                                "may miss events.\n");
 }
 
-static void leave_uniprocessor(void)
+/* __ref because leave_uniprocessor calls cpu_up which is __cpuinit,
+   but this whole function is ifdefed CONFIG_HOTPLUG_CPU */
+static void __ref leave_uniprocessor(void)
 {
        int cpu;
        int err;