forked from luck/tmp_suning_uos_patched
4db2ce0199
Several implementations were essentialy a common piece of C code using the cmpxchg() macro. Put the implementation in one spot that everyone can share, and convert sparc64 over to using this. Alpha is the lone arch-specific implementation, which codes up a special fast path for the common case in order to avoid GP reloading which a pure C version would require. Signed-off-by: David S. Miller <davem@davemloft.net>
19 lines
424 B
Makefile
19 lines
424 B
Makefile
#
|
|
# Makefile for ppc64-specific library files..
|
|
#
|
|
|
|
lib-y := checksum.o string.o strcase.o
|
|
lib-y += copypage.o memcpy.o copyuser.o usercopy.o
|
|
|
|
# Lock primitives are defined as no-ops in include/linux/spinlock.h
|
|
# for non-SMP configs. Don't build the real versions.
|
|
|
|
lib-$(CONFIG_SMP) += locks.o
|
|
|
|
# e2a provides EBCDIC to ASCII conversions.
|
|
ifdef CONFIG_PPC_ISERIES
|
|
obj-y += e2a.o
|
|
endif
|
|
|
|
lib-$(CONFIG_DEBUG_KERNEL) += sstep.o
|