commit | 19fa6e601b251f13400767813372944b3e2f444b | [log] [tgz] |
---|---|---|
author | Denis Kirjanov <kda@linux-powerpc.org> | Thu Mar 30 10:06:19 2017 -0400 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Fri Mar 31 11:37:13 2017 +0200 |
tree | f196d95a9163a964826db79b5a9d7b79fec06ffc | |
parent | 93857edd9829e144acb6c7e72d593f6e01aead66 [diff] |
tty/hvc_console: fix console lock ordering with spinlock hvc_remove() takes a spin lock first then acquires the console semaphore. This situation can easily lead to a deadlock scenario where we call scheduler with spin lock held. Signed-off-by: Denis Kirjanov <kda@linux-powerpc.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>