diff options
author | Nicholas Piggin <npiggin@gmail.com> | 2018-05-01 00:55:56 +1000 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2018-07-23 20:12:32 +1000 |
commit | 550ddadcc7580ec2a6c22d4ed04291bc6e2428fb (patch) | |
tree | 107bfb0355a6943e6765293702828fe109310920 /drivers/net/ethernet/agere | |
parent | cfb5946b55f1dfd19e042feae1fbff6041e25a98 (diff) | |
download | linux-550ddadcc7580ec2a6c22d4ed04291bc6e2428fb.tar.gz |
tty: hvc: hvc_write() may sleep
Rework the hvc_write loop to drop and re-take the spinlock on each
iteration, add a cond_resched. Don't bother with an initial hvc_push
initially, which makes the logic simpler -- just do a hvc_push on
each time around the loop.
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'drivers/net/ethernet/agere')
0 files changed, 0 insertions, 0 deletions