Re: [ACPI] ACPI: compilation fixes

Matthew Wilcox (willy@debian.org)
Thu, 1 Aug 2002 14:43:12 +0100


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/