From: David Hildenbrand Date: Fri, 12 May 2017 10:20:39 +0000 Subject: [kvm-unit-tests PATCH v1 0/3] provide asm-generic spinlock Message-Id: <20170512102042.4956-1-david@redhat.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: kvm@vger.kernel.org Cc: Paolo Bonzini , =?UTF-8?q?Radim=20Kr=C4=8Dm=C3=A1=C5=99?= , Thomas Huth , david@redhat.com, Laurent Vivier , kvm-ppc@vger.kernel.org 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