diff options
Diffstat (limited to 'arch/sparc/Kconfig')
| -rw-r--r-- | arch/sparc/Kconfig | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/sparc/Kconfig b/arch/sparc/Kconfig index bd992c0048f0..fbcc00c6c06e 100644 --- a/arch/sparc/Kconfig +++ b/arch/sparc/Kconfig | |||
| @@ -178,6 +178,13 @@ config ARCH_HAS_ILOG2_U64 | |||
| 178 | bool | 178 | bool |
| 179 | default n | 179 | default n |
| 180 | 180 | ||
| 181 | config EMULATED_CMPXCHG | ||
| 182 | bool | ||
| 183 | default y | ||
| 184 | help | ||
| 185 | Sparc32 does not have a CAS instruction like sparc64. cmpxchg() | ||
| 186 | is emulated, and therefore it is not completely atomic. | ||
| 187 | |||
| 181 | config SUN_PM | 188 | config SUN_PM |
| 182 | bool | 189 | bool |
| 183 | default y | 190 | default y |
