OSDN Git Service

sched/headers: Make all include/linux/sched/*.h headers build standalone
authorIngo Molnar <mingo@kernel.org>
Fri, 3 Feb 2017 20:11:09 +0000 (21:11 +0100)
committerIngo Molnar <mingo@kernel.org>
Thu, 2 Mar 2017 07:42:23 +0000 (08:42 +0100)
commit9ccd27cc2e8bfbec502d7c64a353dc4489536b81
tree6108bb437475eb19d123a1c8c575355dd300991e
parent4977ab6e92e267afe9d8f78438c3db330ca8434c
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>
include/linux/sched/deadline.h
include/linux/sched/prio.h
include/linux/sched/rt.h
include/linux/sched/sysctl.h