]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
parisc: cleanup console handling
authorJiri Slaby <jslaby@suse.cz>
Thu, 4 Nov 2010 15:20:21 +0000 (16:20 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 16 Nov 2010 20:50:18 +0000 (12:50 -0800)
commit597c606f560cf7ef6029152fa7574bddbfb0252f
tree0d0fcf0087de96cffea0853eac87fce048c6f00d
parent23308ba54dcdb54481163bfb07dd8aeca76a7a2e
parisc: cleanup console handling

* use newly added for_each_console for iterating consoles
* add proper console locking
* do not initialize tmp twice
* no need to declare console_drivers, it's already done in console.h

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Acked-by: Kyle McMartin <kyle@mcmartin.ca>
Cc: Helge Deller <deller@gmx.de>
Cc: "James E.J. Bottomley" <jejb@parisc-linux.org>
Cc: linux-parisc@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
arch/parisc/kernel/pdc_cons.c