Searched hist:"5 f5c9ae5" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/tty/serial/ |
H A D | serial_core.c | 5f5c9ae5 Fri Feb 28 07:21:32 CST 2014 Geert Uytterhoeven <geert+renesas@linux-m68k.org> serial_core: Unregister console in uart_remove_one_port()
If the serial port being removed is used as a console, it must also be unregistered from the console subsystem using unregister_console().
uart_ops.release_port() will release resources (e.g. iounmap() the serial port registers), causing a crash on subsequent kernel output if the console is still registered.
Signed-off-by: Geert Uytterhoeven <geert+renesas@linux-m68k.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> 5f5c9ae5 Fri Feb 28 07:21:32 CST 2014 Geert Uytterhoeven <geert+renesas@linux-m68k.org> serial_core: Unregister console in uart_remove_one_port() If the serial port being removed is used as a console, it must also be unregistered from the console subsystem using unregister_console(). uart_ops.release_port() will release resources (e.g. iounmap() the serial port registers), causing a crash on subsequent kernel output if the console is still registered. Signed-off-by: Geert Uytterhoeven <geert+renesas@linux-m68k.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|