From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Hildenbrand Subject: [kvm-unit-tests PATCH v1 0/3] provide asm-generic spinlock Date: Fri, 12 May 2017 12:20:39 +0200 Message-ID: <20170512102042.4956-1-david@redhat.com> 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 To: kvm@vger.kernel.org Return-path: Received: from mx1.redhat.com ([209.132.183.28]:35330 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750977AbdELKUt (ORCPT ); Fri, 12 May 2017 06:20:49 -0400 Sender: kvm-owner@vger.kernel.org List-ID: 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