Messages in this thread Patch in this message | | | Date | Thu, 07 Jul 2005 23:31:23 +0200 | From | domen@coderock ... | Subject | [patch 1/1] kernel/module.c use __set_current_state() instead of direct assigment |
| |
From: aLeJ <fuzzy.alej@gmail.com>
Use of __set_current_state() instead of direct assigment of current->state.
Signed-off-by: Alejandro Andres <fuzzy.alej@gmail.com> Signed-off-by: Domen Puncer <domen@coderock.org>
--- module.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-)
Index: quilt/kernel/module.c =================================================================== --- quilt.orig/kernel/module.c +++ quilt/kernel/module.c @@ -556,7 +556,7 @@ static void wait_for_zero_refcount(struc break; schedule(); } - current->state = TASK_RUNNING; + __set_current_state(TASK_RUNNING); down(&module_mutex); } -- - 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/
| |