[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)
commitd86d9b8cab45adf64e2ea8fe975bec3282b5de81
tree5e5f5da5139c819f3d77ab2b6a0cb1e6b339f4ea
parent022d51b1b28d25d50935c39d7968fefe34102a9f
[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