atomic: use <linux/atomic.h>
[linux-2.6.git] / arch / powerpc / kernel / smp.c
index 567a174..7bf2187 100644 (file)
@@ -33,7 +33,7 @@
 #include <linux/topology.h>
 
 #include <asm/ptrace.h>
-#include <asm/atomic.h>
+#include <linux/atomic.h>
 #include <asm/irq.h>
 #include <asm/page.h>
 #include <asm/pgtable.h>
@@ -245,6 +245,7 @@ void smp_send_reschedule(int cpu)
        if (likely(smp_ops))
                do_message_pass(cpu, PPC_MSG_RESCHEDULE);
 }
+EXPORT_SYMBOL_GPL(smp_send_reschedule);
 
 void arch_send_call_function_single_ipi(int cpu)
 {