Re: [GIT pull] genirq fixes for 2.6.31

From: Kevin Winchester
Date: Wed Jul 22 2009 - 19:28:45 EST


Thomas Gleixner wrote:
> +/*
> * Interrupt handler thread
> */
> static int irq_thread(void *data)
> @@ -458,6 +494,8 @@ static int irq_thread(void *data)
>
> while (!irq_wait_for_interrupt(action)) {
>
> + irq_thread_check_affinity(desc, action);
> +
> atomic_inc(&desc->threads_active);
>
> spin_lock_irq(&desc->lock);

Any chance we could do this in a way that doesn't break the build for CONFIG_SMP=n? :)

Should this call simply be wrapped in an #ifdef, or should the function be defined for !SMP?

--
Kevin Winchester


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/