diff options
author | Randy Dunlap <rdunlap@infradead.org> | 2021-05-26 09:03:37 +0200 |
---|---|---|
committer | Max Filippov <jcmvbkbc@gmail.com> | 2021-08-11 20:36:09 +0200 |
commit | ed5aacc81cd41efc4d561e14af408d1003f7b855 (patch) | |
tree | 53bcd95a34aba46a8e00d0558e2c681914b12f0c /arch/xtensa | |
parent | Linux 5.14-rc5 (diff) | |
download | linux-ed5aacc81cd41efc4d561e14af408d1003f7b855.tar.xz linux-ed5aacc81cd41efc4d561e14af408d1003f7b855.zip |
xtensa: fix kconfig unmet dependency warning for HAVE_FUTEX_CMPXCHG
XTENSA should only select HAVE_FUTEX_CMPXCHG when FUTEX is
set/enabled. This prevents a kconfig warning.
WARNING: unmet direct dependencies detected for HAVE_FUTEX_CMPXCHG
Depends on [n]: FUTEX [=n]
Selected by [y]:
- XTENSA [=y] && !MMU [=n]
Fixes: d951ba21b959 ("xtensa: nommu: select HAVE_FUTEX_CMPXCHG")
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Max Filippov <jcmvbkbc@gmail.com>
Cc: Chris Zankel <chris@zankel.net>
Cc: linux-xtensa@linux-xtensa.org
Message-Id: <20210526070337.28130-1-rdunlap@infradead.org>
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Diffstat (limited to 'arch/xtensa')
-rw-r--r-- | arch/xtensa/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/xtensa/Kconfig b/arch/xtensa/Kconfig index 3878880469d1..b843902ad9fd 100644 --- a/arch/xtensa/Kconfig +++ b/arch/xtensa/Kconfig @@ -30,7 +30,7 @@ config XTENSA select HAVE_DMA_CONTIGUOUS select HAVE_EXIT_THREAD select HAVE_FUNCTION_TRACER - select HAVE_FUTEX_CMPXCHG if !MMU + select HAVE_FUTEX_CMPXCHG if !MMU && FUTEX select HAVE_HW_BREAKPOINT if PERF_EVENTS select HAVE_IRQ_TIME_ACCOUNTING select HAVE_PCI |