diff options
Diffstat (limited to 'include/asm-i386/atomic.h')
-rw-r--r-- | include/asm-i386/atomic.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-i386/atomic.h b/include/asm-i386/atomic.h index 0baa2f89463c..437aac801711 100644 --- a/include/asm-i386/atomic.h +++ b/include/asm-i386/atomic.h | |||
@@ -182,7 +182,7 @@ static __inline__ int atomic_add_return(int i, atomic_t *v) | |||
182 | int __i; | 182 | int __i; |
183 | #ifdef CONFIG_M386 | 183 | #ifdef CONFIG_M386 |
184 | unsigned long flags; | 184 | unsigned long flags; |
185 | if(unlikely(boot_cpu_data.x86==3)) | 185 | if(unlikely(boot_cpu_data.x86 <= 3)) |
186 | goto no_xadd; | 186 | goto no_xadd; |
187 | #endif | 187 | #endif |
188 | /* Modern 486+ processor */ | 188 | /* Modern 486+ processor */ |