From patchwork Wed May 26 15:57:05 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Julia Lawall X-Patchwork-Id: 102436 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.3/8.14.3) with ESMTP id o4QFwo4J017584 for ; Wed, 26 May 2010 15:58:51 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756726Ab0EZP5N (ORCPT ); Wed, 26 May 2010 11:57:13 -0400 Received: from mgw2.diku.dk ([130.225.96.92]:40750 "EHLO mgw2.diku.dk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755484Ab0EZP5K (ORCPT ); Wed, 26 May 2010 11:57:10 -0400 Received: from localhost (localhost [127.0.0.1]) by mgw2.diku.dk (Postfix) with ESMTP id 9237219BBDF; Wed, 26 May 2010 17:57:09 +0200 (CEST) Received: from mgw2.diku.dk ([127.0.0.1]) by localhost (mgw2.diku.dk [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 12204-15; Wed, 26 May 2010 17:57:05 +0200 (CEST) Received: from nhugin.diku.dk (nhugin.diku.dk [130.225.96.140]) by mgw2.diku.dk (Postfix) with ESMTP id 4B80819BBAC; Wed, 26 May 2010 17:57:05 +0200 (CEST) Received: from ask.diku.dk (ask.diku.dk [130.225.96.225]) by nhugin.diku.dk (Postfix) with ESMTP id 8926D6DFD05; Wed, 26 May 2010 17:49:39 +0200 (CEST) Received: by ask.diku.dk (Postfix, from userid 3767) id 2B23C200BF; Wed, 26 May 2010 17:57:05 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by ask.diku.dk (Postfix) with ESMTP id 21BE2200BC; Wed, 26 May 2010 17:57:05 +0200 (CEST) Date: Wed, 26 May 2010 17:57:05 +0200 (CEST) From: Julia Lawall To: Avi Kivity , Marcelo Tosatti , Xiantao Zhang , Tony Luck , Fenghua Yu , kvm@vger.kernel.org, kvm-ia64@vger.kernel.org, linux-ia64@vger.kernel.org, linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org Subject: [PATCH 10/17] arch/ia64/kvm: Add missing spin_unlock Message-ID: MIME-Version: 1.0 Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter.kernel.org [140.211.167.41]); Wed, 26 May 2010 15:58:51 +0000 (UTC) diff --git a/arch/ia64/kvm/kvm-ia64.c b/arch/ia64/kvm/kvm-ia64.c index d5f4e91..21b7013 100644 --- a/arch/ia64/kvm/kvm-ia64.c +++ b/arch/ia64/kvm/kvm-ia64.c @@ -144,6 +144,7 @@ int kvm_arch_hardware_enable(void *garbage) VP_INIT_ENV : VP_INIT_ENV_INITALIZE, __pa(kvm_vm_buffer), KVM_VM_BUFFER_BASE, &tmp_base); if (status != 0) { + spin_unlock(&vp_lock); printk(KERN_WARNING"kvm: Failed to Enable VT Support!!!!\n"); return -EINVAL; }