Re: [PATCH] xtensa: fix kconfig unmet dependency warning for HAVE_FUTEX_CMPXCHG

From: Max Filippov
Date: Wed May 26 2021 - 18:21:18 EST


On Wed, May 26, 2021 at 12:03 AM Randy Dunlap <rdunlap@xxxxxxxxxxxxx> wrote:
>
> 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@xxxxxxxxxxxxx>
> Cc: Max Filippov <jcmvbkbc@xxxxxxxxx>
> Cc: Chris Zankel <chris@xxxxxxxxxx>
> Cc: linux-xtensa@xxxxxxxxxxxxxxxx
> ---
> arch/xtensa/Kconfig | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)

Thanks, applied to my xtensa tree.

-- Max