summaryrefslogtreecommitdiffstats
path: root/include/linux/sched/prio.h
diff options
context:
space:
mode:
authorIngo Molnar2017-02-03 21:11:09 +0100
committerIngo Molnar2017-03-02 08:42:23 +0100
commit9ccd27cc2e8bfbec502d7c64a353dc4489536b81 (patch)
tree6108bb437475eb19d123a1c8c575355dd300991e /include/linux/sched/prio.h
parentMerge branch 'core-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/ke... (diff)
downloadkernel-qcow2-linux-9ccd27cc2e8bfbec502d7c64a353dc4489536b81.tar.gz
kernel-qcow2-linux-9ccd27cc2e8bfbec502d7c64a353dc4489536b81.tar.xz
kernel-qcow2-linux-9ccd27cc2e8bfbec502d7c64a353dc4489536b81.zip
sched/headers: Make all include/linux/sched/*.h headers build standalone
Make each header self-sufficient, so that it can be built successfully both in an allnoconfig and allyesconfig kernel. Also standardize the naming of their header guards. Acked-by: Linus Torvalds <torvalds@linux-foundation.org> Cc: Mike Galbraith <efault@gmx.de> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: linux-kernel@vger.kernel.org Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'include/linux/sched/prio.h')
-rw-r--r--include/linux/sched/prio.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/linux/sched/prio.h b/include/linux/sched/prio.h
index d9cf5a5762d9..2cc450f6ec54 100644
--- a/include/linux/sched/prio.h
+++ b/include/linux/sched/prio.h
@@ -1,5 +1,5 @@
-#ifndef _SCHED_PRIO_H
-#define _SCHED_PRIO_H
+#ifndef _LINUX_SCHED_PRIO_H
+#define _LINUX_SCHED_PRIO_H
#define MAX_NICE 19
#define MIN_NICE -20
@@ -57,4 +57,4 @@ static inline long rlimit_to_nice(long prio)
return (MAX_NICE - prio + 1);
}
-#endif /* _SCHED_PRIO_H */
+#endif /* _LINUX_SCHED_PRIO_H */