summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIngo Molnar <mingo@kernel.org>2021-06-06 13:27:15 +0200
committerIngo Molnar <mingo@kernel.org>2023-09-21 11:22:35 +0200
commit3ba78da711940ce07c39c4cdd1f4ad284067a42d (patch)
tree94b71540fc4ce44c9e6046da2b240f0b993af9be
parent87c3a5893e865739ce78aa7192d36011022e0af7 (diff)
downloadlinux-stable-3ba78da711940ce07c39c4cdd1f4ad284067a42d.tar.gz
linux-stable-3ba78da711940ce07c39c4cdd1f4ad284067a42d.tar.bz2
linux-stable-3ba78da711940ce07c39c4cdd1f4ad284067a42d.zip
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@kernel.org>
-rw-r--r--include/linux/sched/deadline.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/sched/deadline.h b/include/linux/sched/deadline.h
index 7c83d4d5a971..df3aca89d4f5 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 */