On Thu, Aug 01, 2002 at 12:40:53PM +0200, Pavel Machek wrote:
> - save_flags(flags);
> + local_irq_save(flags);
> + local_irq_disable();
umm. local_irq_save disables interrupts:
#define local_irq_save(x) __asm__ __volatile__("pushfl ; popl %0 ; cli":"=
g" (x): /* no input */ :"memory")
i think you're confused with local_save_flags.
-- Revolutions do not require corporate support. - 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/
This archive was generated by hypermail 2b29 : Wed Aug 07 2002 - 22:00:15 EST