Re: [PATCH] irq: rename irq_desc() to to_irq_desc() - fix #3

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Yinghai Lu
Date: Monday, August 18, 2008 - 5:48 pm

On Mon, Aug 18, 2008 at 5:38 PM, Ingo Molnar <mingo@elte.hu> wrote:

should be

kstat_irqs_this_cpu(to_irq_desc(irq))++;

otherwise when CONFIG_HAVE_SPARSE_IRQ is set, it will fail.

when sparse_irq is set, only have irq_descX list...

YH
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH] irq: rename irq_desc() to to_irq_desc() - fix #3, Yinghai Lu, (Mon Aug 18, 5:48 pm)