[<prev] [next>] [day] [month] [year] [list]
Message-ID: <169528907782.27769.18247303468859725307.tip-bot2@tip-bot2>
Date: Thu, 21 Sep 2023 09:37:57 -0000
From: "tip-bot2 for Ingo Molnar" <tip-bot2@...utronix.de>
To: linux-tip-commits@...r.kernel.org
Cc: Ingo Molnar <mingo@...nel.org>, x86@...nel.org,
linux-kernel@...r.kernel.org
Subject: [tip: sched/core] sched/headers: Add header guard to <linux/sched/deadline.h>
The following commit has been merged into the sched/core branch of tip:
Commit-ID: 3ba78da711940ce07c39c4cdd1f4ad284067a42d
Gitweb: https://git.kernel.org/tip/3ba78da711940ce07c39c4cdd1f4ad284067a42d
Author: Ingo Molnar <mingo@...nel.org>
AuthorDate: Sun, 06 Jun 2021 13:27:15 +02:00
Committer: Ingo Molnar <mingo@...nel.org>
CommitterDate: Thu, 21 Sep 2023 11:22:35 +02:00
sched/headers: Add header guard to <linux/sched/deadline.h>
It's the only non-trivial header in include/linux/sched/ missing a header guard.
Signed-off-by: Ingo Molnar <mingo@...nel.org>
---
include/linux/sched/deadline.h | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/include/linux/sched/deadline.h b/include/linux/sched/deadline.h
index 7c83d4d..df3aca8 100644
--- a/include/linux/sched/deadline.h
+++ b/include/linux/sched/deadline.h
@@ -1,4 +1,6 @@
/* SPDX-License-Identifier: GPL-2.0 */
+#ifndef _LINUX_SCHED_DEADLINE_H
+#define _LINUX_SCHED_DEADLINE_H
/*
* SCHED_DEADLINE tasks has negative priorities, reflecting
@@ -34,3 +36,5 @@ extern void dl_add_task_root_domain(struct task_struct *p);
extern void dl_clear_root_domain(struct root_domain *rd);
#endif /* CONFIG_SMP */
+
+#endif /* _LINUX_SCHED_DEADLINE_H */
Powered by blists - more mailing lists