projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
irda: replace current->state by set_current_state()
[firefly-linux-kernel-4.4.55.git]
/
net
/
irda
/
ircomm
/
ircomm_tty.c
diff --git
a/net/irda/ircomm/ircomm_tty.c
b/net/irda/ircomm/ircomm_tty.c
index 40695b9751c10b41e7fd310fa5d15bcef4629549..9940a41efca1a8a1f3df86314c73bb5c1b330ce2 100644
(file)
--- a/
net/irda/ircomm/ircomm_tty.c
+++ b/
net/irda/ircomm/ircomm_tty.c
@@
-811,7
+811,7
@@
static void ircomm_tty_wait_until_sent(struct tty_struct *tty, int timeout)
break;
}
spin_unlock_irqrestore(&self->spinlock, flags);
-
current->state = TASK_RUNNING
;
+
__set_current_state(TASK_RUNNING)
;
}
/*