tty: hvc: use mutex instead of spinlock for hvc_structs lock
authorNicholas Piggin <npiggin@gmail.com>
Mon, 30 Apr 2018 14:55:53 +0000 (00:55 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 23 Jul 2018 10:07:53 +0000 (20:07 +1000)
commita9bf5c8a271b9a954709b7ada1bd258f5cadf7ff
tree0409318fc9d18bd234d0c5a86c73b475c93726e0
parent021c91791a5e7e85c567452f1be3e4c2c6cb6063
tty: hvc: use mutex instead of spinlock for hvc_structs lock

This allows hvc operations to sleep under the lock.

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
drivers/tty/hvc/hvc_console.c