[<prev] [next>] [day] [month] [year] [list]
Message-ID: <164733306511.16921.3387492917730056941.tip-bot2@tip-bot2>
Date: Tue, 15 Mar 2022 08:31:05 -0000
From: "tip-bot2 for Ingo Molnar" <tip-bot2@...utronix.de>
To: linux-tip-commits@...r.kernel.org
Cc: Ingo Molnar <mingo@...nel.org>,
Peter Zijlstra <peterz@...radead.org>, x86@...nel.org,
linux-kernel@...r.kernel.org
Subject: [tip: sched/core] sched/headers: Add header guard to kernel/sched/sched.h
The following commit has been merged into the sched/core branch of tip:
Commit-ID: 95458477f5b2dc436e3aa6aa25c0f84bb83e6195
Gitweb: https://git.kernel.org/tip/95458477f5b2dc436e3aa6aa25c0f84bb83e6195
Author: Ingo Molnar <mingo@...nel.org>
AuthorDate: Tue, 22 Feb 2022 14:50:43 +01:00
Committer: Ingo Molnar <mingo@...nel.org>
CommitterDate: Wed, 23 Feb 2022 08:21:56 +01:00
sched/headers: Add header guard to kernel/sched/sched.h
Use the canonical header guard naming of the full path to the header.
Signed-off-by: Ingo Molnar <mingo@...nel.org>
Reviewed-by: Peter Zijlstra <peterz@...radead.org>
---
kernel/sched/sched.h | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/kernel/sched/sched.h b/kernel/sched/sched.h
index 3da5718..eab4a18 100644
--- a/kernel/sched/sched.h
+++ b/kernel/sched/sched.h
@@ -2,6 +2,9 @@
/*
* Scheduler internal types and methods:
*/
+#ifndef _KERNEL_SCHED_SCHED_H
+#define _KERNEL_SCHED_SCHED_H
+
#include <linux/sched.h>
#include <linux/sched/autogroup.h>
@@ -3137,3 +3140,4 @@ extern int sched_dynamic_mode(const char *str);
extern void sched_dynamic_update(int mode);
#endif
+#endif /* _KERNEL_SCHED_SCHED_H */
Powered by blists - more mailing lists