Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753740AbbFCIUv (ORCPT ); Wed, 3 Jun 2015 04:20:51 -0400 Received: from m50-112.126.com ([123.125.50.112]:58599 "EHLO m50-112.126.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753680AbbFCIUp (ORCPT ); Wed, 3 Jun 2015 04:20:45 -0400 From: "xiaofeng.yan" To: joro@8bytes.org, iommu@lists.linux-foundation.org, linux-kernel@vger.kernel.org Cc: "xiaofeng.yan" Subject: [PATCH] intel_irq_remapping: fix a comment error Date: Wed, 3 Jun 2015 16:20:15 +0800 Message-Id: <1433319615-29776-1-git-send-email-yanxiaofeng@inspur.com> X-Mailer: git-send-email 1.9.1 X-CM-TRANSID: j9KowACXe9nHuG5VPylcBQ--.294S2 X-Coremail-Antispam: 1Uf129KBjvdXoWrKFW5Kw4DJw1DKF1xtFWrKrg_yoWDZrb_Gr 1rXF97Wry5ZFnYy342yrnrZr90kw409Fn7Gw1kKFyay34jvFn5GFyrZF98Zrs3WayxGay7 Kan8urWIk348CjkaLaAFLSUrUUUUjb8apTn2vfkv8UJUUUU8Yxn0WfASr-VFAUDa7-sFnT 9fnUUvcSsGvfC2KfnxnUUI43ZEXa7IUn9jjPUUUUU== X-Originating-IP: [111.207.123.56] X-CM-SenderInfo: p0ld0w5hqjs5ddqsiiaw6rjloofrz/1tbi7wgOEFUwx7LxowAAs7 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1236 Lines: 37 change tabke to take. Signed-off-by: xiaofeng.yan --- drivers/iommu/intel_irq_remapping.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/iommu/intel_irq_remapping.c b/drivers/iommu/intel_irq_remapping.c index 5709ae9..d59f82d 100644 --- a/drivers/iommu/intel_irq_remapping.c +++ b/drivers/iommu/intel_irq_remapping.c @@ -46,7 +46,7 @@ static struct hpet_scope ir_hpet[MAX_HPET_TBS]; * ->iommu->register_lock * Note: * intel_irq_remap_ops.{supported,prepare,enable,disable,reenable} are called - * in single-threaded environment with interrupt disabled, so no need to tabke + * in single-threaded environment with interrupt disabled, so no need to take * the dmar_global_lock. */ static DEFINE_RAW_SPINLOCK(irq_2_ir_lock); @@ -185,6 +185,7 @@ static int modify_irte(int irq, struct irte *irte_modified) return -1; raw_spin_lock_irqsave(&irq_2_ir_lock, flags); + while(1): iommu = irq_iommu->iommu; -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/