Let's introduce a simple generic version that should be sufficient for our purposes. David Hildenbrand (3): lib: provide generic spinlock ppc64: use asm-generic spinlock x86: use asm-generic spinlock lib/asm-generic/spinlock.h | 16 +++++++++++++++- lib/ppc64/asm/spinlock.h | 9 ++------- lib/ppc64/spinlock.c | 18 ------------------ lib/x86/asm/spinlock.h | 9 ++------- lib/x86/smp.c | 16 ---------------- powerpc/Makefile.ppc64 | 1 - 6 files changed, 19 insertions(+), 50 deletions(-) delete mode 100644 lib/ppc64/spinlock.c -- 2.9.3