xtensa: nommu: select HAVE_FUTEX_CMPXCHG
authorMax Filippov <jcmvbkbc@gmail.com>
Wed, 30 Sep 2015 12:17:35 +0000 (15:17 +0300)
committerMax Filippov <jcmvbkbc@gmail.com>
Mon, 2 Nov 2015 15:03:07 +0000 (18:03 +0300)
commitd951ba21b95938c24a28a25295c44719d3b51ee2
treecc02a0697c62ff3dc2b30aa143e11690734b3038
parentd9eb3cb24837f4fb6391b0172f17156377adabba
xtensa: nommu: select HAVE_FUTEX_CMPXCHG

Not having HAVE_FUTEX_CMPXCHG makes futex_detect_cmpxchg probe
cmpxchg_futex_value_locked with NULL address. It's not guaranteed to
fault without MMU, instead it locks up on Xtensa when there's no RAM at
address 0.

Select HAVE_FUTEX_CMPXCHG in noMMU Xtensa configurations.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
arch/xtensa/Kconfig