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

Grover, Andrew (andrew.grover@intel.com)
Thu, 11 Jul 2002 15:32:24 -0700


Hi,

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

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