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=-20.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED 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 E62E0C4338F for ; Tue, 17 Aug 2021 20:16:53 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id CE0A461058 for ; Tue, 17 Aug 2021 20:16:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234320AbhHQURW (ORCPT ); Tue, 17 Aug 2021 16:17:22 -0400 Received: from Galois.linutronix.de ([193.142.43.55]:34614 "EHLO galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234233AbhHQUO4 (ORCPT ); Tue, 17 Aug 2021 16:14:56 -0400 Date: Tue, 17 Aug 2021 20:14:21 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1629231262; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=OEIqyu+7fVkEjye0Br9BZUPqeXL0sXSvzptbdNXY4J8=; b=IpxNmB5PA+iNCiyCQ09DGz8cOAqkzlxWawbhZVZXLUTOd21YzfSyUxVH6K56YHS/BswSGU 6wXXNvZ/Xy5GFrCTJphCpb236fgbp3/DsIRprpHrYddNZqaLnssofU6feW34H2f0acyUu3 92p8Gp5OzuVm/9LJYvMsgyIzao8JKvCWXPKIz7YuiD9pIlIhutAUKosrV1P6IGp8SZfM5o 9cf+0mkHUnN5NbvyyN61RVrdhLJlaZvJAxEs6dVoq9kQ4keEsB9ph8LDzs/5gx+QHluDpq +m4qEXSNGdDo7DSgiYyX2WFuU+rswWybXqcXgSAksI3Uopu5UT4OzfHw7mS7pA== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1629231262; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=OEIqyu+7fVkEjye0Br9BZUPqeXL0sXSvzptbdNXY4J8=; b=MklS0yw433vJEUtJWIFf/fy/aqnW46WgAwbe3OmQycXoOmAfklFyaJDj6676OYcTZ6dMgT PYWtQtpL7v5Mk8Bg== From: "tip-bot2 for Sebastian Andrzej Siewior" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: locking/core] locking/rtmutex: Reduce header dependencies, only include Cc: Sebastian Andrzej Siewior , Thomas Gleixner , "Peter Zijlstra (Intel)" , Ingo Molnar , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20210815211303.598003167@linutronix.de> References: <20210815211303.598003167@linutronix.de> MIME-Version: 1.0 Message-ID: <162923126191.25758.15241316586748657955.tip-bot2@tip-bot2> Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The following commit has been merged into the locking/core branch of tip: Commit-ID: e4e17af3b7f8841279b5a429de14907e26845c39 Gitweb: https://git.kernel.org/tip/e4e17af3b7f8841279b5a429de14907e26845c39 Author: Sebastian Andrzej Siewior AuthorDate: Sun, 15 Aug 2021 23:28:20 +02:00 Committer: Ingo Molnar CommitterDate: Tue, 17 Aug 2021 17:37:26 +02:00 locking/rtmutex: Reduce header dependencies, only include We have the following header dependency problem on RT: - needs the definition of 'struct rb_root_cached'. - includes , which includes That works nicely for non-RT enabled kernels, but on RT enabled kernels spinlocks are based on rtmutexes, which creates another circular header dependency as will require . Include instead. Signed-off-by: Sebastian Andrzej Siewior Signed-off-by: Thomas Gleixner Signed-off-by: Peter Zijlstra (Intel) Signed-off-by: Ingo Molnar Link: https://lore.kernel.org/r/20210815211303.598003167@linutronix.de --- include/linux/rtmutex.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/rtmutex.h b/include/linux/rtmutex.h index 4be97ae..9deedfe 100644 --- a/include/linux/rtmutex.h +++ b/include/linux/rtmutex.h @@ -15,7 +15,7 @@ #include #include -#include +#include #include extern int max_lock_depth; /* for sysctl */