Re: [patch 21/61] lock validator: lockdep: addlocal_irq_enable_in_hardirq() API.

From: Andrew Morton
Date: Mon May 29 2006 - 21:35:38 EST


On Mon, 29 May 2006 23:24:52 +0200
Ingo Molnar <mingo@xxxxxxx> wrote:

> introduce local_irq_enable_in_hardirq() API. It is currently
> aliased to local_irq_enable(), hence has no functional effects.
>
> This API will be used by lockdep, but even without lockdep
> this will better document places in the kernel where a hardirq
> context enables hardirqs.

If we expect people to use this then we'd best whack a comment over it.

Also, trace_irqflags.h doesn't seem an appropriate place for it to live.

I trust all the affected files are including trace_irqflags.h by some
means. Hopefully a _reliable_ means. No doubt I'm about to find out ;)
-
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/