Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp2319035pxb; Mon, 20 Sep 2021 18:41:48 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz63LxH9lox20tmTNHm33rFh2bC92MttOA0Tedp2ycPQZSKiLw1C6Lst7ggkvGoqrl0r28y X-Received: by 2002:a05:6e02:12a3:: with SMTP id f3mr19325580ilr.54.1632188507963; Mon, 20 Sep 2021 18:41:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632188507; cv=none; d=google.com; s=arc-20160816; b=koDPpShRLhgYsU+wxmNuXdFiCTK9FC66JKXTGIDvmVjy23zuEwzSGUB79fDqTTL7rO RFiX+egbYxPRXWi6wYLU4sO7WMRt/eEFzAi6edH1sP0FFtisPn1dWyLoO7uFca480Zyi JKbzI4/OQTQRrYB7ir/yZBpVShHVmLQqko1nqkYxfos4oKnqF+/hoOD/jK3hqNmGa1AH v9nSuzNUlUZmjeOcHt18CVijcrzvddyQcbZete9+Kl7rNBZrlr5HPXnZyfMtVo8bxjU+ 6SGlCs1WCSh21sFpBD/Qc2WJiioWS3NU1rZhwCdT3qq6ZNbeFV+WPMZQwW5uh7FOIVTI p3zw== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=i9uxBL6TmnKa+Vi+6l/IhQb3jDTkuK3VHeCRUz7tQ5c=; b=rPiqDGRibODDaMErYmpOPkW86zIPZjHftNnYMd75eYnY469Ay3v8cSCpk6Pk4w1mXV xVgCRiUBJV/FXgOQdb9IZD+OJhTvjU3HrD1Q/Ez9tV9DLUZZW6jxJyrbSFGNZ5Kv+dtq H2hXzF/6c67xhZxbQc7sX6O0CvEEIOuhY0AJ4qw7XVJVhjJm29pooVx+FqWP7As/ztxz jFz5sXNQD733++IhP5JmAJX3xVWXaDhRZ3euuRp/5U6SnMgjsJ5bQBXQXiPQUHSR8skE IAhyI9fyk7qD+thA6EaVRZs1SyJljf+4WXAfe1t5oOvu7/fdA7+bqV9N3kkMuKvgV1K3 Q78g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=zk8ajVAe; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z10si13733344ioe.51.2021.09.20.18.41.36; Mon, 20 Sep 2021 18:41:47 -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=@linuxfoundation.org header.s=korg header.b=zk8ajVAe; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243137AbhITQr2 (ORCPT + 99 others); Mon, 20 Sep 2021 12:47:28 -0400 Received: from mail.kernel.org ([198.145.29.99]:35544 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240439AbhITQrT (ORCPT ); Mon, 20 Sep 2021 12:47:19 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id CC8CB61177; Mon, 20 Sep 2021 16:45:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1632156352; bh=BRF+E+tAztRQ7+qYL71XC976u3TfPctkobGaEUP+8kg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=zk8ajVAeYiq18BppwhxUZyqBgv4mXGKQeT7v+qqdP9zGMxLlLzjmy762bF3oLM+hX 29Wx/I4ff3RUeq7Zty9J3tNOR5g6awdNurZY16FRg30g+oGlKUJgIT3A3FOjKcGH6J EyOXIjqMVpX0HfAXV1y1D+YQF0uTgq4U4VApnVP8= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Randy Dunlap , Max Filippov , Chris Zankel , linux-xtensa@linux-xtensa.org Subject: [PATCH 4.4 002/133] xtensa: fix kconfig unmet dependency warning for HAVE_FUTEX_CMPXCHG Date: Mon, 20 Sep 2021 18:41:20 +0200 Message-Id: <20210920163912.684691018@linuxfoundation.org> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20210920163912.603434365@linuxfoundation.org> References: <20210920163912.603434365@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Randy Dunlap commit ed5aacc81cd41efc4d561e14af408d1003f7b855 upstream. 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 Message-Id: <20210526070337.28130-1-rdunlap@infradead.org> Signed-off-by: Max Filippov Signed-off-by: Greg Kroah-Hartman --- arch/xtensa/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/arch/xtensa/Kconfig +++ b/arch/xtensa/Kconfig @@ -17,7 +17,7 @@ config XTENSA select HAVE_DMA_API_DEBUG select HAVE_DMA_ATTRS select HAVE_FUNCTION_TRACER - select HAVE_FUTEX_CMPXCHG if !MMU + select HAVE_FUTEX_CMPXCHG if !MMU && FUTEX select HAVE_IRQ_TIME_ACCOUNTING select HAVE_OPROFILE select HAVE_PERF_EVENTS