* [PATCH] intel_irq_remapping: fix a comment error
@ 2015-06-03 8:20 xiaofeng.yan
2015-06-03 8:25 ` Jiang Liu
0 siblings, 1 reply; 2+ messages in thread
From: xiaofeng.yan @ 2015-06-03 8:20 UTC (permalink / raw)
To: joro, iommu, linux-kernel; +Cc: xiaofeng.yan
change tabke to take.
Signed-off-by: xiaofeng.yan <yanxiaofeng@inspur.com>
---
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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] intel_irq_remapping: fix a comment error
2015-06-03 8:20 [PATCH] intel_irq_remapping: fix a comment error xiaofeng.yan
@ 2015-06-03 8:25 ` Jiang Liu
0 siblings, 0 replies; 2+ messages in thread
From: Jiang Liu @ 2015-06-03 8:25 UTC (permalink / raw)
To: xiaofeng.yan, joro, iommu, linux-kernel
On 2015/6/3 16:20, xiaofeng.yan wrote:
> change tabke to take.
>
> Signed-off-by: xiaofeng.yan <yanxiaofeng@inspur.com>
> ---
> 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):
Hi Xiaofeng,
Seems above change be removed.
Thanks!
Gerry
>
> iommu = irq_iommu->iommu;
>
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-06-03 8:25 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-06-03 8:20 [PATCH] intel_irq_remapping: fix a comment error xiaofeng.yan
2015-06-03 8:25 ` Jiang Liu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox