Re: [patch] "big IRQ lock" removal, 2.5.27-A9

Russell King (rmk@arm.linux.org.uk)
Mon, 22 Jul 2002 01:40:18 +0100


On Mon, Jul 22, 2002 at 02:31:16AM +0200, Ingo Molnar wrote:
> +drivers that want to disable local interrupts (interrupts on the
> +current CPU), can use the following four macros:
> +
> + __cli(), __sti(), __save_flags(flags), __restore_flags(flags)

Last mail before zzz (hopefully) - what about
local_irq_{enable,disable,save,restore} ?

With the exception of local_irq_save() which is actually
local_irq_save_disable(), I find these to be more "descriptive" of
their function.

-- 
Russell King (rmk@arm.linux.org.uk)                The developer of ARM Linux
             http://www.arm.linux.org.uk/personal/aboutme.html

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