lkml.org 
[lkml]   [2006]   [Jun]   [8]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
DateThu, 08 Jun 2006 08:42:45 +0200
FromJan Altenberg <>
Subject[PATCH -rt] Trivial compiler warning fix
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@tglx.de>

----------------------
--- 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@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-06-08 08:45    [from the cache]
©2003-2008