]> git.baikalelectronics.ru Git - kernel.git/commit
[POWERPC] fix spin lock nesting in hvc_iseries
authorStephen Rothwell <sfr@canb.auug.org.au>
Tue, 26 Sep 2006 01:54:16 +0000 (11:54 +1000)
committerPaul Mackerras <paulus@samba.org>
Tue, 26 Sep 2006 05:41:03 +0000 (15:41 +1000)
commit50f620707c3071e112d716a26eb23482cfef07e6
tree5e5f5da5139c819f3d77ab2b6a0cb1e6b339f4ea
parentea5de2301b0da3641ac6d7fff76120dde06fddc5
[POWERPC] fix spin lock nesting in hvc_iseries

We had nested spinlocks using the same flags variable, but it turns out
that we don't need the nested locks at all (the lock protects a static
buffer that we aren't using here), so just remove the extra locks.

Spotted by Alexey Dobriyan.

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
drivers/char/hvc_iseries.c