From: aLeJ <[EMAIL PROTECTED]>
Use of __set_current_state() instead of direct assigment of
current->state.
Signed-off-by: Alejandro Andres <[EMAIL PROTECTED]>
Signed-off-by: Domen Puncer <[EMAIL PROTECTED]>
---
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 [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/