From nobody Mon Jun 22 23:59:16 2026 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id B5F72C433EF for ; Tue, 15 Mar 2022 08:31:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345978AbiCOIcV (ORCPT ); Tue, 15 Mar 2022 04:32:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54624 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345935AbiCOIcI (ORCPT ); Tue, 15 Mar 2022 04:32:08 -0400 Received: from galois.linutronix.de (Galois.linutronix.de [IPv6:2a0a:51c0:0:12e:550::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9E4814C419; Tue, 15 Mar 2022 01:30:57 -0700 (PDT) Date: Tue, 15 Mar 2022 08:30:54 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1647333055; 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; bh=Fft8ZwL2Lx87/uADdwjRj9ovPOhmQ+kmRIPIPrZAc2M=; b=eq27owgx6o9bNjETE8c0bHYA53n/fNoyJsefWAa4akMYcyBAXam2CwxFtX6LdaSetrH1hv idJjZWqQezJaB/UhoDQBBr//Focljh8u7BxzI3dgcmIfu6K+T2HoFZwwwgxz3/qYsnrtgu xgFqdahpA2bkgQ/SEB2YLmWN84uIW6XS0nAqcGIkKBRYRbZKtJkvTUwN5XtEppEVBWoD8m vQLNy7IfC/pG2CEiAX9WE26EkiOoznfFQyMaQpMgCOGZD9t/fN/IGzp27vngUaffUayXKT uupt56b3MytMaxnaGBhg2Y8unsYpuBE2/cGF6eOQJwp2M7dU2PrV/Z2WHjwLYQ== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1647333055; 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; bh=Fft8ZwL2Lx87/uADdwjRj9ovPOhmQ+kmRIPIPrZAc2M=; b=sl5/owG7n9YCMs0s940luyzygxD0qVc0hVFRBm8wHaZ5Rk7WEcLgAMaEFN7csuSfHEDSzJ 27ZJm0jc9E2/qTDQ== From: "tip-bot2 for Ingo Molnar" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: sched/core] sched/headers: Reorganize, clean up and optimize kernel/sched/build_policy.c dependencies Cc: Ingo Molnar , Peter Zijlstra , x86@kernel.org, linux-kernel@vger.kernel.org MIME-Version: 1.0 Message-ID: <164733305467.16921.16597177726639531734.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: quoted-printable 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: 0dda4eeb484962ad574fcea77a78a4fbd7bc06ba Gitweb: https://git.kernel.org/tip/0dda4eeb484962ad574fcea77a78a4fbd= 7bc06ba Author: Ingo Molnar AuthorDate: Mon, 21 Jun 2021 10:33:56 +02:00 Committer: Ingo Molnar CommitterDate: Wed, 23 Feb 2022 10:58:33 +01:00 sched/headers: Reorganize, clean up and optimize kernel/sched/build_policy.= c dependencies Use all generic headers from kernel/sched/sched.h that are required for it to build. Sort the sections alphabetically. Signed-off-by: Ingo Molnar Reviewed-by: Peter Zijlstra --- kernel/sched/build_policy.c | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/kernel/sched/build_policy.c b/kernel/sched/build_policy.c index 9a169b2..a2e4023 100644 --- a/kernel/sched/build_policy.c +++ b/kernel/sched/build_policy.c @@ -12,12 +12,36 @@ * core.c and fair.c are built separately. */ =20 +/* Headers: */ +#include +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#ifdef CONFIG_PARAVIRT +# include +#endif + +#include + #include "sched.h" =20 #include "autogroup.h" #include "stats.h" #include "pelt.h" =20 +/* Source code modules: */ + #include "idle.c" =20 #include "rt.c"