diff options
author | Ingo Molnar <mingo@kernel.org> | 2022-02-22 14:50:43 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2022-02-23 08:21:56 +0100 |
commit | 95458477f5b2dc436e3aa6aa25c0f84bb83e6195 (patch) | |
tree | c025e9cb96e538820aa19b93e97200daa7b96079 | |
parent | d0b9d6dcaa5ac480c272683919f387cc6d82b638 (diff) |
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@kernel.org>
Reviewed-by: Peter Zijlstra <peterz@infradead.org>
-rw-r--r-- | kernel/sched/sched.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/kernel/sched/sched.h b/kernel/sched/sched.h index 3da5718cd641..eab4a18f71c2 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 */ |