Skip to content

Commit 9545847

Browse files
committed
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>
1 parent d0b9d6d commit 9545847

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

kernel/sched/sched.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
/*
33
* Scheduler internal types and methods:
44
*/
5+
#ifndef _KERNEL_SCHED_SCHED_H
6+
#define _KERNEL_SCHED_SCHED_H
7+
58
#include <linux/sched.h>
69

710
#include <linux/sched/autogroup.h>
@@ -3137,3 +3140,4 @@ extern int sched_dynamic_mode(const char *str);
31373140
extern void sched_dynamic_update(int mode);
31383141
#endif
31393142

3143+
#endif /* _KERNEL_SCHED_SCHED_H */

0 commit comments

Comments
 (0)