Re: [V5 PATCH 1/4] panic/x86: Fix re-entrance problem due to panic on NMI

From: Steven Rostedt
Date: Tue Nov 24 2015 - 10:12:27 EST


On Tue, 24 Nov 2015 10:05:10 -0500
Steven Rostedt <rostedt@xxxxxxxxxxx> wrote:

> cmpxchg(&panic_cpu, -1, 0) != 0
>
> returns -1 for cpu 0, thus 0 != 0, and sets panic_cpu to 0

That was suppose to be "thus -1 != 0".

-- Steve
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/