diff options
author | Helge Deller <[email protected]> | 2009-01-13 22:51:07 +0100 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2009-01-13 14:03:43 -0800 |
commit | 125c97d8a59888c5678734c2b70cbd08c847bd99 (patch) | |
tree | 39a22727dbbf543d457d73c91cc9b6b9db164f8e /kernel/trace/trace_functions_graph.c | |
parent | e0b325d310a6b11f1538413fd557d2eb98f2fae5 (diff) |
fix early_serial_setup() regression
Commit b430428a188e8a434325e251d0704af4b88b4711 ("8250: Don't clobber
spinlocks.") introduced a regression on the parisc architecture, which
broke the handover to the serial port at boottime.
early_serial_setup() was changed to only copy a subset of the uart_port
fields, and sadly the "type" and "line" fields were forgotten and thus
the serial port was not initialized and could not be used for a
handover. This patch fixes this by copying the missing fields.
As this change to early_serial_setup() doesn't need an initialized
spinlock in the uart_port struct any longer, we can drop the spinlock
initialization in the superio driver.
Cc: David Daney <[email protected]>
Cc: Tomaso Paoletti <[email protected]>
Cc: Andrew Morton <[email protected]>
Cc: Alan Cox <[email protected]>
Acked-by: Kyle McMartin <[email protected]>
Cc: [email protected]
Signed-off-by: Helge Deller <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'kernel/trace/trace_functions_graph.c')
0 files changed, 0 insertions, 0 deletions