From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.6 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 187E5C4CECD for ; Tue, 17 Sep 2019 17:06:26 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id D80BC214AF for ; Tue, 17 Sep 2019 17:06:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1568739986; bh=2GzNt1P+iqY/06t/D5kCmnG+P1fIONIj1Ts/1jyDsRA=; h=Date:From:To:Cc:Subject:Reply-To:References:In-Reply-To:List-ID: From; b=UTs6GTCy5ls4b2w+dBmcNisKUVS2fbs6rkwHP3L2bfi6CSIcEw/Axq7Jc66PZk5Xp W1zn1VunCihGU5dcOnXnUZQKlha52bn9GEL0lR98O0GazbVDuvpkkxY3Ez3aFrrlBE nMdKw2+TkSAMXJ9hXdeBpzXA4nDoGVHKWgyodoq4= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730719AbfIQRGZ (ORCPT ); Tue, 17 Sep 2019 13:06:25 -0400 Received: from mail.kernel.org ([198.145.29.99]:54994 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728507AbfIQRGY (ORCPT ); Tue, 17 Sep 2019 13:06:24 -0400 Received: from paulmck-ThinkPad-P72 (unknown [50.237.200.51]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id E20E62067B; Tue, 17 Sep 2019 17:06:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1568739984; bh=2GzNt1P+iqY/06t/D5kCmnG+P1fIONIj1Ts/1jyDsRA=; h=Date:From:To:Cc:Subject:Reply-To:References:In-Reply-To:From; b=xZ0/InWY37pRBWkJRyhn7y07poVMPUU3OnqDU2tNYBCoU6rP22nkOEJqRfrfL9beU izDrC8g9OPcWKcNYX480XSgF785jXpu06tVL6ZNJPeqta9ZFV4uSW+Sw1VJOHxRbXx WZVwTFQDqcD316NGjcUFYh+OxjoD8AYepj0NKz+I= Date: Tue, 17 Sep 2019 10:06:20 -0700 From: "Paul E. McKenney" To: Davidlohr Bueso Cc: Sebastian Andrzej Siewior , linux-kernel@vger.kernel.org, Josh Triplett , Thomas Gleixner Subject: Re: [PATCH] locking: locktorture: Do not include rwlock.h directly Message-ID: <20190917170620.GC30224@paulmck-ThinkPad-P72> Reply-To: paulmck@kernel.org References: <20190916145404.bukcmlliequu77wk@linutronix.de> <20190917071614.kcmux562y6wbskj5@linux-p48b> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190917071614.kcmux562y6wbskj5@linux-p48b> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Sep 17, 2019 at 12:16:14AM -0700, Davidlohr Bueso wrote: > 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 Applied, thank you! But does anyone actually run locktorture? Thanx, Paul > > 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 > >