From: Thomas Gleixner Date: Wed, 23 May 2007 20:58:19 +0000 (-0700) Subject: i386: fix early usage of atomic_add_return and local_add_return on real i386 X-Git-Tag: v2.6.22-rc3~26 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=03491c92932b8d2dab1bb298e0122ff6d39680af;p=pandora-kernel.git i386: fix early usage of atomic_add_return and local_add_return on real i386 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. Signed-off-by: Thomas Gleixner Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed