Re: [CHECKER] 56 potential lock/unlock bugs in 2.5.8

Dawson Engler (engler@csl.Stanford.EDU)
Thu, 11 Jul 2002 16:26:07 -0700 (PDT)


> > From: Dawson Engler [mailto:engler@csl.Stanford.EDU]
> > ---------------------------------------------------------
> > [BUG] all other case arms call __sti(); however, it may be
> > that safe_halt
> > does something weird.
> > /u2/engler/mc/oses/linux/2.5.8/drivers/acpi/acpi_processor.c:5
>
> #define safe_halt() __asm__ __volatile__("sti; hlt": : :"memory")
>
> I think we're OK for now. I doubt safe_halt will change, but if it does I'll
> fix this issue.

ah. missed the sti. thanks!
-
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/