Commit 40420e9b authored by Anton Blanchard's avatar Anton Blanchard

ppc64: fix atomic_dec_and_lock symbol export

parent 03446643
...@@ -18,6 +18,7 @@ ...@@ -18,6 +18,7 @@
#include <linux/unistd.h> #include <linux/unistd.h>
#include <linux/ptrace.h> #include <linux/ptrace.h>
#include <linux/slab.h> #include <linux/slab.h>
#include <linux/interrupt.h>
#include <asm/pgtable.h> #include <asm/pgtable.h>
#include <asm/uaccess.h> #include <asm/uaccess.h>
......
...@@ -245,8 +245,4 @@ EXPORT_SYMBOL(debugger_dabr_match); ...@@ -245,8 +245,4 @@ EXPORT_SYMBOL(debugger_dabr_match);
EXPORT_SYMBOL(debugger_fault_handler); EXPORT_SYMBOL(debugger_fault_handler);
#endif #endif
#ifdef CONFIG_SMP
EXPORT_SYMBOL(atomic_dec_and_lock);
#endif
EXPORT_SYMBOL(tb_ticks_per_usec); EXPORT_SYMBOL(tb_ticks_per_usec);
...@@ -60,6 +60,7 @@ ...@@ -60,6 +60,7 @@
#include <asm/time.h> #include <asm/time.h>
#include <asm/ppcdebug.h> #include <asm/ppcdebug.h>
#include <asm/prom.h>
void smp_local_timer_interrupt(struct pt_regs *); void smp_local_timer_interrupt(struct pt_regs *);
......
...@@ -4,6 +4,8 @@ ...@@ -4,6 +4,8 @@
O_TARGET = lib.o O_TARGET = lib.o
export-objs := dec_and_lock.o
obj-y := checksum.o dec_and_lock.o string.o strcase.o copypage.o \ obj-y := checksum.o dec_and_lock.o string.o strcase.o copypage.o \
memcpy.o copyuser.o memcpy.o copyuser.o
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment