Re: [patch] Real-Time Preemption, -RT-2.6.12-rc5-V0.7.47-10

From: Eran Mann
Date: Tue May 31 2005 - 02:27:29 EST


Ingo Molnar wrote:
i have released the -V0.7.47-10 Real-Time Preemption patch, which can be downloaded from the usual place:

http://redhat.com/~mingo/realtime-preempt/


I tried to compile -V0.7.47-15 and it fails to compile.
net/sunrpc/sched.c: In function `rpc_run_timer':
net/sunrpc/sched.c:107: error: `RPC_TASK_HAS_TIMER' undeclared (first use in this function)
...

It seems the following hunk of the patch is bogus as it removes a required define:

--- linux/include/linux/sunrpc/sched.h.orig
+++ linux/include/linux/sunrpc/sched.h
@@ -138,7 +138,6 @@ typedef void (*rpc_action)(struct rpc_
#define RPC_TASK_RUNNING 0
#define RPC_TASK_QUEUED 1
#define RPC_TASK_WAKEUP 2
-#define RPC_TASK_HAS_TIMER 3

#define RPC_IS_RUNNING(t) (test_bit(RPC_TASK_RUNNING, &(t)->tk_runstate))
#define rpc_set_running(t) (set_bit(RPC_TASK_RUNNING, &(t)->tk_runstate))

-
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/