]> err.no Git - linux-2.6/commit
[SERIAL] Move interrupt-time spinlocking inside serial8250_handle_port()
authorRussell King <rmk@dyn-67.arm.linux.org.uk>
Wed, 4 Jan 2006 19:19:06 +0000 (19:19 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 4 Jan 2006 19:19:06 +0000 (19:19 +0000)
commit45e24601921fc1c4ca7932f7f7a475d3ad64ecad
tree21b64ad15abe3b051a0462096ee2474212274e20
parent50aec3b561de4e435204ad315e5c5ab58ef9feda
[SERIAL] Move interrupt-time spinlocking inside serial8250_handle_port()

All call sites for serial8250_handle_port() acquired the port spinlock
and released it afterwards.  This is a needless duplication of code.
Move the spinlocking inside serial8250_handle_port().

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
drivers/serial/8250.c