sched: Assert task state bits at build time
authorPeter Zijlstra <a.p.zijlstra@chello.nl>
Thu, 17 Dec 2009 12:16:30 +0000 (13:16 +0100)
committerIngo Molnar <mingo@elte.hu>
Thu, 17 Dec 2009 12:22:45 +0000 (13:22 +0100)
commite1781538cf5c870ab696e9b8f0a5c498d3900f2f
tree42027696b4bc241194299b29cef2ae814b087acd
parent464763cf1c6df632dccc8f2f4c7e50163154a2c0
sched: Assert task state bits at build time

Since everybody is lazy and prone to forgetting things, make the
compiler help us a bit.

Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
LKML-Reference: <20091217121830.060186433@chello.nl>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
fs/proc/array.c
include/linux/sched.h