Skip to content

Commit 57fb939

Browse files
MingcongBaiKexyBiscuit
authored andcommitted
AOSCOS: staging: sb105x: rename state to __state in task_struct
Per commit 2f064a5 ("sched: Change task_struct::state"), the member `state' of `struct task_struct' was renamed into `__state'. Revise driver code accordingly. Fixes: "AOSCOS: Revert "staging: sb105x: delete the driver"" Signed-off-by: Mingcong Bai <[email protected]> Signed-off-by: Kexy Biscuit <[email protected]>
1 parent f5d1688 commit 57fb939

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/staging/sb105x/sb_pci_mp.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1051,7 +1051,7 @@ static int mp_wait_modem_status(struct sb_uart_state *state, unsigned long arg)
10511051
cprev = cnow;
10521052
}
10531053

1054-
current->state = TASK_RUNNING;
1054+
current->__state = TASK_RUNNING;
10551055
remove_wait_queue(&state->info->delta_msr_wait, &wait);
10561056

10571057
return ret;

0 commit comments

Comments
 (0)