Fix build errors, add <sched.h> header file:
commitd0c2b5d0ae018f8088b91ace672e019c15a54a35
authorRandy Dunlap <randy.dunlap@oracle.com>
Tue, 13 Oct 2009 07:08:38 +0000 (13 09:08 +0200)
committerjames toy <toyj@union.edu>
Tue, 13 Oct 2009 07:08:38 +0000 (13 09:08 +0200)
tree7c056e89a9a014b725bd5e7cedbf9f5d064bca13
parent53970fb54d1f2e5532420d94ba73ebacd55044c4
Fix build errors, add <sched.h> header file:

kernel/synchro-test.c: In function 'sched':
kernel/synchro-test.c:220: error: implicit declaration of function 'schedule'
kernel/synchro-test.c: In function 'mutexer':
kernel/synchro-test.c:227: error: implicit declaration of function 'daemonize'
kernel/synchro-test.c:228: error: implicit declaration of function 'set_user_nice'
kernel/synchro-test.c:241: error: dereferencing pointer to incomplete type
kernel/synchro-test.c: In function 'semaphorer':
kernel/synchro-test.c:263: error: dereferencing pointer to incomplete type
kernel/synchro-test.c: In function 'reader':
kernel/synchro-test.c:287: error: dereferencing pointer to incomplete type
kernel/synchro-test.c: In function 'writer':
kernel/synchro-test.c:311: error: dereferencing pointer to incomplete type
kernel/synchro-test.c: In function 'downgrader':
kernel/synchro-test.c:340: error: dereferencing pointer to incomplete type

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Acked-by: David Howells <dhowells@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
kernel/synchro-test.c