Re: [RFC 1/5] Make soft_irq NMI safe

From: Peter Zijlstra
Date: Thu Jun 24 2010 - 02:09:50 EST


On Thu, 2010-06-24 at 11:04 +0800, Huang Ying wrote:
> +#define __raise_softirq_preempt_off(nr) \
> + do { set_bit(nr, (unsigned long *)local_softirq_pending()); } while (0)

So that is the reason for that insane local_softirq_pending()
definition?

Quite revolting.
--
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/