[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20210320233353.88493-1-julianbraha@gmail.com>
Date: Sat, 20 Mar 2021 19:33:53 -0400
From: Julian Braha <julianbraha@...il.com>
To: chris@...kel.net
Cc: linux-kernel@...r.kernel.org, linux-xtensa@...ux-xtensa.org
Subject: [PATCH] arch: xtensa: fix kconfig dependency on FUTEX
When HAVE_FUTEX_CMPXCHG is enabled, and FUTEX is disabled,
Kbuild gives the following warning:
WARNING: unmet direct dependencies detected for HAVE_FUTEX_CMPXCHG
Depends on [n]: FUTEX [=n]
Selected by [y]:
- XTENSA [=y] && !MMU [=n]
This is because XTENSA selects HAVE_FUTEX_CMPXCHG,
without selecting or depending on FUTEX, despite
HAVE_FUTEX_CMPXCHG depending on FUTEX.
Signed-off-by: Julian Braha <julianbraha@...il.com>
---
arch/xtensa/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/xtensa/Kconfig b/arch/xtensa/Kconfig
index 9ad6b7b82707..a0d5f065d6b1 100644
--- a/arch/xtensa/Kconfig
+++ b/arch/xtensa/Kconfig
@@ -29,6 +29,7 @@ config XTENSA
select HAVE_DMA_CONTIGUOUS
select HAVE_EXIT_THREAD
select HAVE_FUNCTION_TRACER
+ select FUTEX if !MMU
select HAVE_FUTEX_CMPXCHG if !MMU
select HAVE_HW_BREAKPOINT if PERF_EVENTS
select HAVE_IRQ_TIME_ACCOUNTING
--
2.25.1
Powered by blists - more mailing lists