Hello, here is a small fix to remove some obsolete usage of assigning
directly to current->state in kernel/signal.c.
Tim Cambrant
--- linux-2.6.4/kernel/signal.c.orig 2004-03-15 02:27:22.801481976 +0100
+++ linux-2.6.4/kernel/signal.c 2004-03-15 02:29:56.648093736 +0100
@@ -2107,7 +2107,7 @@ sys_rt_sigtimedwait(const sigset_t __use
recalc_sigpending();
spin_unlock_irq(¤t->sighand->siglock);
- current->state = TASK_INTERRUPTIBLE;
+ set_current_state(TASK_INTERRUPTIBLE);
timeout = schedule_timeout(timeout);
spin_lock_irq(¤t->sighand->siglock);
@@ -2529,7 +2529,7 @@ sys_signal(int sig, __sighandler_t handl
asmlinkage long
sys_pause(void)
{
- current->state = TASK_INTERRUPTIBLE;
+ set_current_state(TASK_INTERRUPTIBLE);
schedule();
return -ERESTARTNOHAND;
}