diff options
author | David Daney | 2009-01-02 14:49:41 +0100 |
---|---|---|
committer | Linus Torvalds | 2009-01-02 19:19:42 +0100 |
commit | b430428a188e8a434325e251d0704af4b88b4711 (patch) | |
tree | b00c4a1872c2a1db32002933f5b061d245787b1b /include/linux/serial_8250.h | |
parent | fix for tty-serial-move-port (diff) | |
download | kernel-qcow2-linux-b430428a188e8a434325e251d0704af4b88b4711.tar.gz kernel-qcow2-linux-b430428a188e8a434325e251d0704af4b88b4711.tar.xz kernel-qcow2-linux-b430428a188e8a434325e251d0704af4b88b4711.zip |
8250: Don't clobber spinlocks.
In serial8250_isa_init_ports(), the port's lock is initialized. We
should not overwrite it. In early_serial_setup(), only copy in the
fields we need. Since the early console code only uses a subset of
the fields, these are sufficient.
Signed-off-by: David Daney <ddaney@caviumnetworks.com>
Signed-off-by: Tomaso Paoletti <tpaoletti@caviumnetworks.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/serial_8250.h')
0 files changed, 0 insertions, 0 deletions