aboutsummaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorThomas Gleixner <[email protected]>2007-05-23 13:58:19 -0700
committerLinus Torvalds <[email protected]>2007-05-23 20:14:15 -0700
commit03491c92932b8d2dab1bb298e0122ff6d39680af (patch)
tree96db84a9e5c502b7d6890d1af6c94c3f96e83087 /include/linux
parent98d8256739f2c6c636fa2da359f5949c739ae839 (diff)
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 <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions