Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp5106402ybe; Tue, 17 Sep 2019 02:43:28 -0700 (PDT) X-Google-Smtp-Source: APXvYqzKq7hIepsEJQiNL/Pka570PaKXa69Nr0GD/yiLtw545563AiWeDFGkcu6aXYM5ICuejvm8 X-Received: by 2002:a17:906:4a5a:: with SMTP id a26mr3913216ejv.154.1568713408618; Tue, 17 Sep 2019 02:43:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568713408; cv=none; d=google.com; s=arc-20160816; b=OcgfuFA5ps1tCdv9AFR4WORDfJIqWZ/JYSSOVvIKeauzPCaT1ZDLcel9ETquAFpBrV hfXPUnYPK8Kc9VEJlVjMsFcO6elNJlTS5j75YfIEMXauNTU/Xo/c9ufrHn06Kc3ZP1t9 8NbParbG5iKvU9NZKMpIuGHUhK/45Zp6uovujcs9UcRG8xCKkT7/lEbXkgHVHMhPK9Sr Lo9idaj3Xx4hRLbLjxFWmC51lZ5EozpPZGlR7zXVpZxMNJvhDUD9ZZQTnW5hXoqSFcug AIuloBhAIK8iIr5fxODHp9n3A8Oc+lEashqGfLoA02NDWVAa8wDNMaIWhQjdcaJDkViV 2AHQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=yHR7RWzjqpuG2Hi3BUpuTwoeSK0aiKjfN8SQax+DYrs=; b=NVyie/nqSPlw5UQ0NOpQBcwFBAIM/YeecPnwyVX6SLt+Y2yDJNnc9ceFFS9p2JY20B WYTTiSdcrjFy7UzRPL0ucNVz45q2SuwARYwaup0rBHxQXwRqKBW5gIkgjWNkrAx8pPdw NfUnGscT+7WQwowknaCbrDQiJAg8VKVUJY8hFAFkscZiIvdOVZf5xYwVMKbeIYByPP36 aIn8j85LdFbdeeqKc/7M3aMlju0TO43RCjpllyZG8KZCa0agB/7QesylSzE8sX8q/Hio DmOAUHTyH+0x2jJ0cJ3VPphql7gyLvUn3pXJFrp3g5wPUgQHWofO9mQlWkbQ+UTLRaqK GtRg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f20si766505ejw.399.2019.09.17.02.43.05; Tue, 17 Sep 2019 02:43:28 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2392522AbfIQHQf (ORCPT + 99 others); Tue, 17 Sep 2019 03:16:35 -0400 Received: from mx2.suse.de ([195.135.220.15]:40252 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1730666AbfIQHQe (ORCPT ); Tue, 17 Sep 2019 03:16:34 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 7437DB116; Tue, 17 Sep 2019 07:16:32 +0000 (UTC) Date: Tue, 17 Sep 2019 00:16:14 -0700 From: Davidlohr Bueso To: Sebastian Andrzej Siewior Cc: linux-kernel@vger.kernel.org, "Paul E. McKenney" , Josh Triplett , Thomas Gleixner Subject: Re: [PATCH] locking: locktorture: Do not include rwlock.h directly Message-ID: <20190917071614.kcmux562y6wbskj5@linux-p48b> References: <20190916145404.bukcmlliequu77wk@linutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <20190916145404.bukcmlliequu77wk@linutronix.de> User-Agent: NeoMutt/20180716 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 16 Sep 2019, Sebastian Andrzej Siewior wrote: >From: Wolfgang M. Reimer > >Including rwlock.h directly will cause kernel builds to fail >if CONFIG_PREEMPT_RT is defined. The correct header file >(rwlock_rt.h OR rwlock.h) will be included by spinlock.h which >is included by locktorture.c anyway. > >Remove the include of linux/rwlock.h. > Acked-by: Davidlohr Bueso >Signed-off-by: Wolfgang M. Reimer >Signed-off-by: Sebastian Andrzej Siewior >--- > kernel/locking/locktorture.c | 1 - > 1 file changed, 1 deletion(-) > >diff --git a/kernel/locking/locktorture.c b/kernel/locking/locktorture.c >index c513031cd7e33..9fb042d610d23 100644 >--- a/kernel/locking/locktorture.c >+++ b/kernel/locking/locktorture.c >@@ -16,7 +16,6 @@ > #include > #include > #include >-#include > #include > #include > #include >-- >2.23.0 >