Commit 525873bd authored by David S. Miller's avatar David S. Miller

[SPARC64]: Use Makefile to control dec_and_lock.o building not in-file ifdefs.

parent a854821b
......@@ -9,5 +9,7 @@ lib-y := PeeCeeI.o blockops.o debuglocks.o strlen.o strncmp.o \
memscan.o strncpy_from_user.o strlen_user.o memcmp.o checksum.o \
VIScopy.o VISbzero.o VISmemset.o VIScsum.o VIScsumcopy.o \
VIScsumcopyusr.o VISsave.o atomic.o rwlock.o bitops.o \
dec_and_lock.o U3memcpy.o U3copy_from_user.o U3copy_to_user.o \
U3memcpy.o U3copy_from_user.o U3copy_to_user.o \
U3copy_in_user.o mcount.o ipcsum.o rwsem.o xor.o
lib-$(CONFIG_HAVE_DEC_LOCK) += dec_and_lock.o
......@@ -7,7 +7,6 @@
#include <linux/config.h>
#include <asm/thread_info.h>
#ifndef CONFIG_DEBUG_SPINLOCK
.text
.align 64
......@@ -76,5 +75,3 @@ spin_on_lock:
ba,pt %xcc, to_zero
nop
nop
#endif /* !(CONFIG_DEBUG_SPINLOCK) */
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