Messages in this thread | | | Subject | Re: [PATCH] i386: fix early usage of atomic_add_return and local_add_return on real i386 | From | Thomas Gleixner <> | Date | Tue, 22 May 2007 12:37:28 +0200 |
| |
On Tue, 2007-05-22 at 12:34 +0200, Andi Kleen wrote: > 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?
Yup. Hit me with some debug option enabled, but might happen anywhere else too.
tglx
- 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/
| |