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

From: Dawson Engler (engler@csl.Stanford.EDU)
Date: Thu Jul 11 2002 - 18:26:07 EST


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



This archive was generated by hypermail 2b29 : Mon Jul 15 2002 - 22:00:21 EST