Re: [PATCH 1/2] irq_flags_t: intro and core annotations

From: Ralf Baechle
Date: Mon Oct 22 2007 - 11:30:49 EST


On Sun, Oct 21, 2007 at 01:30:42PM +0400, Alexey Dobriyan wrote:

> irq_flags_t
>
> New type for use with spin_lock_irqsave() and friends.

Talking about it, why did we ever require this to be a long anyway? I could
get away with a single bit for MIPS; the rest of this variable is pure
bloat. An abstract datatype could help finally fix this.

Ralf
-
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/