Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp5009779pxj; Wed, 26 May 2021 00:06:18 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyu497QlsSginphiZ0S7/Rq6Bp7vDccjZZYh4IxxkDRp2Q2U1ilSKW/NYVNLk8/dTYXLfyI X-Received: by 2002:aa7:ccc6:: with SMTP id y6mr36241514edt.303.1622012778394; Wed, 26 May 2021 00:06:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622012778; cv=none; d=google.com; s=arc-20160816; b=e3R+1Jzo9I3O9Eh0kBinsa6++ABrzL/5Ha/FmrkIr5ZRjNPyMpkc88fsPXx1w4udTi 1ZZ9Z5Z1xAuXBaV52NFNwjVdN6qbAeiEYcHTspZq2RWoM+KZ13yQmDWZT9lpnhzZWq3R DHZ+m8tcYYx6D2GshXC0R0I3HQLjAmFTf9F8bW0gtTkETqBQWAzBiODbKPzosX3Qwoc2 HQvtWC3vjnIMqoYN5tqdqLlaB46y2H2m4lS1K9kX8ulooORqsa6RbWji1dH3VIOfpQb+ r6lLscwZCatJ72cAeCWXafX2JqH6PDx7502Z5ddIlGvAopE/hU5nFWlina32gsNtxgqd Yk8A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=4iv36n1K6MkUcVxqFCU/Xv1eTROW3KyDKpH9X4TSDgY=; b=JoXsv5XTUaR+ha8g2PVP9uc+XC+GizBB9BABwHQa49XofDfsKOl7X+sHIsq6lTR5Sp I/g5pnUTHW0VKArlrr39GtAbsdLqbXpXsB2JO/Ra8slLBTQ7TG2OodxXPEH40v0Qb10m a1gfo4ZBZKFFb62UBw1gSmyR6qrCRxGCH/Aiv8uFcd/AQWxDilptEKTQ8VzHJu3YExMi XMUi7i/oqjHeEbJYjaHU7ypwT83xwaHcLo+NK0ZpSmvChz885OFDo77BG/uevDWBKKIC EbxUhhuRy8bieEB8Gayg2hI2DSuYC3E7acQVhMo5XcgNvWx1dKzl0s1IknNeNpp8JMHS +9UQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=Mv2RrmZk; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id au10si17642813ejc.163.2021.05.26.00.05.54; Wed, 26 May 2021 00:06:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=Mv2RrmZk; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232852AbhEZHFK (ORCPT + 99 others); Wed, 26 May 2021 03:05:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44130 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232336AbhEZHFJ (ORCPT ); Wed, 26 May 2021 03:05:09 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0C16AC061574 for ; Wed, 26 May 2021 00:03:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: MIME-Version:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type: Content-ID:Content-Description:In-Reply-To:References; bh=4iv36n1K6MkUcVxqFCU/Xv1eTROW3KyDKpH9X4TSDgY=; b=Mv2RrmZkwaLn5FLQ/RcI8aBTCB F5NdpjO8spEm6t7fHjpD5JYngWF3cumsRMY1eSh8eIvDJTiMG8d3kLnLvaRreVJ31OF8JK3V9NfXm UQfdfJ8K4ktXlVvrh/eq6wK+zTMaFXlOICdGUeXYV1EZg+rzvmN97PL29CJzr58judGExfde2PXsg cmN3s62Y96x6a4DCWbTOg4Wy4y56M1UqkFBkqA14+rewXitFMxq0fHiy/juueTyO/Y/U+UBTV/JhU BYYp9Ppf6QLxISdzodJ2bi0HCgvfVYIqeeO6PqR5HXv7bKLqnwf2zXy1JHYHtDm/9gLp7ZFlwZiia vA3Pqz1A==; Received: from [2601:1c0:6280:3f0::1c1d] (helo=bombadil.infradead.org) by bombadil.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1llnZq-00Brtx-9P; Wed, 26 May 2021 07:03:38 +0000 From: Randy Dunlap To: linux-kernel@vger.kernel.org Cc: Randy Dunlap , Max Filippov , Chris Zankel , linux-xtensa@linux-xtensa.org Subject: [PATCH] xtensa: fix kconfig unmet dependency warning for HAVE_FUTEX_CMPXCHG Date: Wed, 26 May 2021 00:03:37 -0700 Message-Id: <20210526070337.28130-1-rdunlap@infradead.org> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 Cc: Max Filippov Cc: Chris Zankel Cc: linux-xtensa@linux-xtensa.org --- arch/xtensa/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- linux-next-20210525.orig/arch/xtensa/Kconfig +++ linux-next-20210525/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