From patchwork Tue Apr 7 23:58:55 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jan Blunck X-Patchwork-Id: 16974 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n3801b0N017921 for ; Wed, 8 Apr 2009 00:01:38 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755823AbZDHABc (ORCPT ); Tue, 7 Apr 2009 20:01:32 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755674AbZDHABa (ORCPT ); Tue, 7 Apr 2009 20:01:30 -0400 Received: from cantor2.suse.de ([195.135.220.15]:46230 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754925AbZDHAB0 (ORCPT ); Tue, 7 Apr 2009 20:01:26 -0400 Received: from Relay1.suse.de (relay-ext.suse.de [195.135.221.8]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx2.suse.de (Postfix) with ESMTP id D783787D82; Wed, 8 Apr 2009 02:01:24 +0200 (CEST) Message-Id: <20090407235902.400480759@suse.de> User-Agent: quilt/0.47-14.10 Date: Wed, 08 Apr 2009 01:58:55 +0200 From: Jan Blunck To: rt-users Cc: kvm@vger.kernel.org Subject: [patch 2/3] kvm: convert spin-locks to raw_spinlock_t References: <20090407235853.309888494@suse.de> Content-Disposition: inline; filename=patches.rt/kvm-pic.diff Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org This patch converts some KVM spin-locks to be of type raw_spinlock_t. Signed-off-by: Jan Blunck Acked-by: Marcelo Tosatti --- arch/x86/kvm/i8254.h | 2 +- arch/x86/kvm/irq.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Index: b/arch/x86/kvm/i8254.h =================================================================== --- a/arch/x86/kvm/i8254.h +++ b/arch/x86/kvm/i8254.h @@ -33,7 +33,7 @@ struct kvm_kpit_state { u32 speaker_data_on; struct mutex lock; struct kvm_pit *pit; - spinlock_t inject_lock; + raw_spinlock_t inject_lock; unsigned long irq_ack; struct kvm_irq_ack_notifier irq_ack_notifier; }; Index: b/arch/x86/kvm/irq.h =================================================================== --- a/arch/x86/kvm/irq.h +++ b/arch/x86/kvm/irq.h @@ -60,7 +60,7 @@ struct kvm_kpic_state { }; struct kvm_pic { - spinlock_t lock; + raw_spinlock_t lock; bool wakeup_needed; unsigned pending_acks; struct kvm *kvm;