kernel/module.c use __set_current_state() instead of direct assigment
PATCH 1/1 kernel/module.c use __set_current_state() instead of direct assigment
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(-)
kernel/module.c +1 -1
@@ -556,7 +556,7 @@ static void wait_for_zero_refcount(strucbreak ;schedule (); } - current->state =TASK_RUNNING ; +__set_current_state (TASK_RUNNING );down (&module_mutex); }
--