Messages in this thread Patch in this message | | | Subject | Export cpu_up & cpu_down functions | Date | Wed, 24 Mar 2004 13:29:40 -0800 | From | "Keshavamurthy, Anil S" <> |
| |
Hi Rusty, When acpi processor driver capable of handling cpu hotplug notifications is compiled as module then this driver expects cpu_up() and cpu_down() to be an exported functions. Attached patch exports those functions. Please include this patch.
Thanks, Anil Keshavamurthy
--------------------------------
linux-2.6.3-root/kernel/cpu.c | 2 ++ 1 files changed, 2 insertions(+)
diff -puN kernel/cpu.c~export_cpu_up_cpu_down kernel/cpu.c --- linux-2.6.3/kernel/cpu.c~export_cpu_up_cpu_down 2004-03-24 21:18:38.418764404 -0800 +++ linux-2.6.3-root/kernel/cpu.c 2004-03-24 21:20:04.449081889 -0800 @@ -154,6 +154,7 @@ out: unlock_cpu_hotplug(); return err; } +EXPORT_SYMBOL(cpu_down); #else static inline int cpu_run_sbin_hotplug(unsigned int cpu, const char *action) { @@ -198,3 +199,4 @@ out: unlock_cpu_hotplug(); return ret; } +EXPORT_SYMBOL(cpu_up); - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |