summaryrefslogtreecommitdiff
path: root/include/asm-i386/local.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-i386/local.h')
-rw-r--r--include/asm-i386/local.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-i386/local.h b/include/asm-i386/local.h
index e13d3e98823f..6e85975b9ed2 100644
--- a/include/asm-i386/local.h
+++ b/include/asm-i386/local.h
@@ -135,7 +135,7 @@ static __inline__ long local_add_return(long i, local_t *l)
long __i;
#ifdef CONFIG_M386
unsigned long flags;
- if(unlikely(boot_cpu_data.x86==3))
+ if(unlikely(boot_cpu_data.x86 <= 3))
goto no_xadd;
#endif
/* Modern 486+ processor */