Acked-by: Marcelo Tosatti <mtosa...@redhat.com>

On Wed, Apr 08, 2009 at 01:58:55AM +0200, Jan Blunck wrote:
> This patch converts some KVM spin-locks to be of type raw_spinlock_t.
> 
> Signed-off-by: Jan Blunck <jblu...@suse.de>
> ---
>  arch/x86/kvm/i8254.h |    2 +-
>  arch/x86/kvm/irq.h   |    2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
> 
> 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;
> 
> 
> --
> To unsubscribe from this list: send the line "unsubscribe kvm" in
> the body of a message to majord...@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to