Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp404206pxb; Sat, 6 Mar 2021 03:46:39 -0800 (PST) X-Google-Smtp-Source: ABdhPJxecvWuYO9qsQJMLwA+kitD/zQmcaxmOmGpbGAtovY3ALylhcOfjCFg3EteOXWMx+dw1t2W X-Received: by 2002:a05:6402:5244:: with SMTP id t4mr12469271edd.87.1615031199269; Sat, 06 Mar 2021 03:46:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1615031199; cv=none; d=google.com; s=arc-20160816; b=D5DJ7j/Jq30w3NbPilNLa1H/EgeLwyr6QtNzJjOd2at146I+wdacd6DhclfDs1U3rX 0H1rrqy+y8+WPGVwk6gD2N+on3O2pSngfxXUa3xIs2pS7mI5OqlIdDWwhpm/O0sahrpI l1VydPjFBrlYp+w3Wk5vhIth1xWvfFgTc8R3ZRqz9SSz7m4kEoslWO92YIJ+hwOBzPY1 qqn3KHbbMcl9HAH1pSwBLrWGY2DT51+bcFGgbQrVH4PGWXb4pESsVXhV1mk3rh0r1syu AUY79nivjN9hVCRSVnPtY74G5qt+9bF1tZh1v/TLStIRomwwiqn/qULnqWbBGpWEVdUu plWw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:robot-unsubscribe :robot-id:message-id:mime-version:references:in-reply-to:cc:subject :to:reply-to:sender:from:dkim-signature:dkim-signature:date; bh=EOn20dMtpMJdbJU3UovE4frcnkqDklpuKaNeXSDjxiI=; b=cYX4BCVD5ZpHoFnwDi4Bg/YFuIO/MSOj/jpNtVDiFadH/zaEzowUIAXU7Z0yDy6uxC RyCWIN16QsiVYr9A+Gpqj//kErGLEchVzbXbLxXAuyw0S5dy3GtfOVj7C6zhUQwS8208 B3yNVhA9W2ig4mjZcsqHYb4tQ0d1bldvnOXYgoEgWBcrNqoerZ46nZKMwnI0itdiGndn Y6J/rnX2Gfg2apYtuFYRyt7++rv37EhaMzRwkNv/38mgT4KzOYaH6QHKE+gyFqHqigHI GvMNjD5XDerMLKdwpjkMGOabL2WE67o8fwJEJ/fhAqq7oG3WDNp0Yyj/8/dyx83zoSUc jnRg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=omdLUi5u; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=HDJK4zH2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r9si3524379edy.4.2021.03.06.03.46.17; Sat, 06 Mar 2021 03:46:39 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=omdLUi5u; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=HDJK4zH2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231336AbhCFLmw (ORCPT + 99 others); Sat, 6 Mar 2021 06:42:52 -0500 Received: from Galois.linutronix.de ([193.142.43.55]:34268 "EHLO galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230406AbhCFLmZ (ORCPT ); Sat, 6 Mar 2021 06:42:25 -0500 Date: Sat, 06 Mar 2021 11:42:23 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1615030944; 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=EOn20dMtpMJdbJU3UovE4frcnkqDklpuKaNeXSDjxiI=; b=omdLUi5ud3LsOETcfYFrMcq5iFkn1v4Nus74EhqUdl4xhj+4rdERw64BVX4chz8WD0MBYD 35LaybRYzmX9tWNLjMStB8iARmdiejRPCGjKXM/Xjz3AlOBsBRMjUN3W6UeZ3hjWpESxjs IE5lhDrsQ9SAgUtmy4+uqawMUUkeNIjqqF9vNinVsqXrMRF6veoFi3hfQey4iBg9WMGrMi y47njqghIgimkXlMxfimPnFEBTiC4juw0TkRFJHz+J9e6ammRbZQE3dJTJypQ3dmIk7eg+ HA6lssj/bcsyNkPIjnVijrn9+yEyxgdTZmzY7kp3m76z+s1GqY9XA1Sw/Un4wg== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1615030944; 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=EOn20dMtpMJdbJU3UovE4frcnkqDklpuKaNeXSDjxiI=; b=HDJK4zH2PbjXTpI2pPafJuyUqd8jnVFOFOKGym+aigNjjp3ze2SB/RZ1oLTUK7fdYOFx2t GW3tslyw5ZFJhYDw== 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: sched/core] kcov: Remove kcov include from sched.h and move it to its users. Cc: Sebastian Andrzej Siewior , "Peter Zijlstra (Intel)" , Ingo Molnar , Johannes Berg , Andrey Konovalov , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20210218173124.iy5iyqv3a4oia4vv@linutronix.de> References: <20210218173124.iy5iyqv3a4oia4vv@linutronix.de> MIME-Version: 1.0 Message-ID: <161503094379.398.12330646699386290495.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 sched/core branch of tip: Commit-ID: 183f47fcaa54a5ffe671d990186d330ac8c63b10 Gitweb: https://git.kernel.org/tip/183f47fcaa54a5ffe671d990186d330ac8c63b10 Author: Sebastian Andrzej Siewior AuthorDate: Thu, 18 Feb 2021 18:31:24 +01:00 Committer: Ingo Molnar CommitterDate: Sat, 06 Mar 2021 12:40:21 +01:00 kcov: Remove kcov include from sched.h and move it to its users. The recent addition of in_serving_softirq() to kconv.h results in compile failure on PREEMPT_RT because it requires task_struct::softirq_disable_cnt. This is not available if kconv.h is included from sched.h. It is not needed to include kconv.h from sched.h. All but the net/ user already include the kconv header file. Move the include of the kconv.h header from sched.h it its users. Additionally include sched.h from kconv.h to ensure that everything task_struct related is available. Signed-off-by: Sebastian Andrzej Siewior Signed-off-by: Peter Zijlstra (Intel) Signed-off-by: Ingo Molnar Acked-by: Johannes Berg Acked-by: Andrey Konovalov Link: https://lkml.kernel.org/r/20210218173124.iy5iyqv3a4oia4vv@linutronix.de --- drivers/usb/usbip/usbip_common.h | 1 + include/linux/kcov.h | 1 + include/linux/sched.h | 1 - net/core/skbuff.c | 1 + net/mac80211/iface.c | 1 + net/mac80211/rx.c | 1 + 6 files changed, 5 insertions(+), 1 deletion(-) diff --git a/drivers/usb/usbip/usbip_common.h b/drivers/usb/usbip/usbip_common.h index d60ce17..a7dd6c6 100644 --- a/drivers/usb/usbip/usbip_common.h +++ b/drivers/usb/usbip/usbip_common.h @@ -18,6 +18,7 @@ #include #include #include +#include #include #undef pr_fmt diff --git a/include/linux/kcov.h b/include/linux/kcov.h index 4e3037d..55dc338 100644 --- a/include/linux/kcov.h +++ b/include/linux/kcov.h @@ -2,6 +2,7 @@ #ifndef _LINUX_KCOV_H #define _LINUX_KCOV_H +#include #include struct task_struct; diff --git a/include/linux/sched.h b/include/linux/sched.h index ef00bb2..cf245bc 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h @@ -14,7 +14,6 @@ #include #include #include -#include #include #include #include diff --git a/net/core/skbuff.c b/net/core/skbuff.c index 545a472..420f23c 100644 --- a/net/core/skbuff.c +++ b/net/core/skbuff.c @@ -60,6 +60,7 @@ #include #include #include +#include #include #include diff --git a/net/mac80211/iface.c b/net/mac80211/iface.c index b80c9b0..c127deb 100644 --- a/net/mac80211/iface.c +++ b/net/mac80211/iface.c @@ -15,6 +15,7 @@ #include #include #include +#include #include #include #include "ieee80211_i.h" diff --git a/net/mac80211/rx.c b/net/mac80211/rx.c index c1343c0..62047e9 100644 --- a/net/mac80211/rx.c +++ b/net/mac80211/rx.c @@ -17,6 +17,7 @@ #include #include #include +#include #include #include #include