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.3 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, 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 17CECC4CECE for ; Tue, 17 Sep 2019 07:16:36 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id EB11521670 for ; Tue, 17 Sep 2019 07:16:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2392527AbfIQHQf (ORCPT ); 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 >