Description: Use of __set_current_state() instead of direct assigment of current->state. Signed-off-by: Alejandro Andres --- linux-2.6.12.1/kernel/module.c.orig 2005-06-29 20:11:28.000000000 +0200 +++ linux-2.6.12.1/kernel/module.c 2005-06-29 20:12:02.000000000 +0200 @@ -518,7 +518,7 @@ static void wait_for_zero_refcount(struc break; schedule(); } - current->state = TASK_RUNNING; + __set_current_state(TASK_RUNNING); down(&module_mutex); }