[tip:,sched/core] sched/headers: Add header guard to <linux/sched/deadline.h>

Message ID 169528907782.27769.18247303468859725307.tip-bot2@tip-bot2
State New
Headers
Series [tip:,sched/core] sched/headers: Add header guard to <linux/sched/deadline.h> |

Commit Message

tip-bot2 for Thomas Gleixner Sept. 21, 2023, 9:37 a.m. UTC
  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@kernel.org>
AuthorDate:    Sun, 06 Jun 2021 13:27:15 +02:00
Committer:     Ingo Molnar <mingo@kernel.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@kernel.org>
---
 include/linux/sched/deadline.h | 4 ++++
 1 file changed, 4 insertions(+)
  

Patch

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 */