Skip to content

Commit

Permalink
ppc64: use lockc.c from powerpc/lib
Browse files Browse the repository at this point in the history
since it is effectively the same as locks.c from ppc64/lib.

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
  • Loading branch information
Stephen Rothwell committed Oct 28, 2005
1 parent 43f35ec commit ecc81e0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 103 deletions.
6 changes: 3 additions & 3 deletions arch/powerpc/lib/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ obj-y := strcase.o string.o
obj-$(CONFIG_PPC32) += div64.o copy_32.o checksum_32.o
obj-$(CONFIG_PPC64) += memcpy_64.o \
usercopy_64.o sstep.o mem_64.o
ifeq ($(CONFIG_PPC64),y)
obj-$(CONFIG_SMP) += locks.o
endif
endif

obj-$(CONFIG_PPC64) += checksum_64.o copypage_64.o copyuser_64.o
obj-$(CONFIG_PPC_ISERIES) += e2a.o
ifeq ($(CONFIG_PPC64),y)
obj-$(CONFIG_SMP) += locks.o
endif
5 changes: 0 additions & 5 deletions arch/ppc64/lib/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,4 @@
lib-y := string.o strcase.o
lib-y += memcpy.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

lib-$(CONFIG_DEBUG_KERNEL) += sstep.o
95 changes: 0 additions & 95 deletions arch/ppc64/lib/locks.c

This file was deleted.

0 comments on commit ecc81e0

Please sign in to comment.