Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp4559945ybe; Mon, 16 Sep 2019 14:28:00 -0700 (PDT) X-Google-Smtp-Source: APXvYqycv9CJo4Bkdn+0WSHrWrPfzPRKwVC5KhCJTiDAC6eiXQqO4N9GCfz6MAyrqWZaXiQT93NO X-Received: by 2002:a05:6402:651:: with SMTP id u17mr1440020edx.59.1568669280352; Mon, 16 Sep 2019 14:28:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568669280; cv=none; d=google.com; s=arc-20160816; b=iCrmeE0ok2ozLIpr0vM1ruB3SPK561IVh6HRCmwEbgN9ulc4iCo6hcqemW5NXm+939 Oy4nHJuN5qfMAh0BMNTqXtlSAZwQbGx56IfWeHCBtRBlS+GBExDjF8OU+DNrDnONjbam o6uq8GucI1BzjeXavTFkrcUIGXh36c3dHpIhMr3kPKNGmURCGxCH1bGjbakpjt4lS3wO DC2Un7hkdgEeXKeRnFh2CfDOT3uXsh93HR3ycmrFxbHxm/Hl1LlMZ41WwYmCd9++bUGW 1NdUDS9MR3AMsvynftOzsAVkRpJNMJxaKhic1jqvpxXiigk/n7k5jSMLMy/QW+oKLAL7 030A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:content-disposition :mime-version:message-id:subject:cc:to:from:date; bh=Lyv/5vBf7oxeaT3STacI8Y/gYTeETNSjcJPZPSxEgYA=; b=ZvrhXoPnsddxrJlUQGMOh/uDJQIVvzB8jnbl+FJoenONYzNUm3v/yRA0IZzuse0ZEP 2ir8nXl0o6Jy0D6AWQpYA8RhUb6qg12fWOgXnvxVFfBaFtQNjiupQuharX6pTDrF+bVC Shl6VrmcA4HU1/CtDG6kKSkj8BRfLBTAcFrBnh8+YomrZoPtym0PYjJOdrDPcK2ZEEYo Rji0PPCRQXroVW6H3yPObqebnZuvh5V47A6bMIZbEIOnmPOXu//nAYpjSFyqS6rr4aia azmXAi0t8/HgccL3aQ/i7YOuMxFjHgHyCgwDdi9vvRmVKghls6xsdI/MxvJDB2MxwIvo Vwqw== 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 v26si73722ejw.276.2019.09.16.14.27.37; Mon, 16 Sep 2019 14:28:00 -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 S2388817AbfIPOyJ (ORCPT + 99 others); Mon, 16 Sep 2019 10:54:09 -0400 Received: from Galois.linutronix.de ([193.142.43.55]:39478 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725917AbfIPOyI (ORCPT ); Mon, 16 Sep 2019 10:54:08 -0400 Received: from bigeasy by Galois.linutronix.de with local (Exim 4.80) (envelope-from ) id 1i9sOC-0001Xu-SA; Mon, 16 Sep 2019 16:54:04 +0200 Date: Mon, 16 Sep 2019 16:54:04 +0200 From: Sebastian Andrzej Siewior To: linux-kernel@vger.kernel.org Cc: Davidlohr Bueso , "Paul E. McKenney" , Josh Triplett , Thomas Gleixner Subject: [PATCH] locking: locktorture: Do not include rwlock.h directly Message-ID: <20190916145404.bukcmlliequu77wk@linutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline User-Agent: NeoMutt/20180716 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. 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