[PATCH -rt] Trivial compiler warning fix

From: Jan Altenberg
Date: Thu Jun 08 2006 - 02:42:03 EST


Hi,

this patch fixes a simple compiler warning:

kernel/workqueue.c: in function »set_workqueue_thread_prio«:
kernel/workqueue.c:393: warning: implicit declaration of function `sys_sched_setscheduler'


Signed-off-by: Jan Altenberg <tb10alj@xxxxxxx>

----------------------

--- linux-2.6.17-rc6-rt1/kernel/workqueue.c.orig 2006-06-08 08:14:00.000000000 +0200
+++ linux-2.6.17-rc6-rt1/kernel/workqueue.c 2006-06-08 08:29:46.000000000 +0200
@@ -28,6 +28,7 @@
#include <linux/notifier.h>
#include <linux/kthread.h>
#include <linux/hardirq.h>
+#include <linux/syscalls.h>

/*
* The per-CPU workqueue (if single thread, we always use the first

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/