Re: [PATCH] i386: fix early usage of atomic_add_return and local_add_return on real i386

From: Andi Kleen
Date: Tue May 22 2007 - 06:35:27 EST


On Tuesday 22 May 2007 11:48, Thomas Gleixner wrote:
> The check (boot_cpu_data.x86 == 3) in atomic_add_return() and
> local_add_return() fails, when those operations are used before
> boot_cpu_data is filled in.
>
> Change the check to (boot_cpu_data.x86 <= 3) to fix this.

That's a critical boot fix for 386, right?

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