linux/arch/m68k/amiga
Geert Uytterhoeven 8a09cec25f m68k/amiga,atari: Fix specifying multiple debug= parameters
Since commit d6713b4091 ("m68k: early
parameter support"), the user can specify multiple debug consoles using the
"debug=" kernel command line parameter.
However, as there's only a single struct console object, which is reused,
it would actually register the same console object multiple times, causing
the following warning:

WARNING: CPU: 0 PID: 0 at kernel/printk/printk.c:2233 register_console+0x36/
console 'debug0' already registered

Make sure to register the console object only once, to avoid the warning.

Note that still only one console (the one corresponding to the last
"debug=" parameter) will be active at the same time, as the .write() method
of the already registered console object is overwritten by a subsequent
"debug=" parameter.

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
2013-12-08 11:03:21 +01:00
..
amiints.c m68k/irq: Remove obsolete m68k irq framework 2011-11-08 22:35:52 +01:00
amisound.c Disintegrate asm/system.h for M68K 2012-03-28 18:30:02 +01:00
chipram.c zorro: ZTWO_VADDR() should return "void __iomem *" 2013-11-26 11:09:07 +01:00
cia.c m68k/irq: Rename {,__}m68k_handle_int() 2011-11-08 22:35:48 +01:00
config.c m68k/amiga,atari: Fix specifying multiple debug= parameters 2013-12-08 11:03:21 +01:00
Makefile m68k: amiga - Zorro host bridge platform device conversion 2010-05-17 21:37:42 +02:00
pcmcia.c m68k: kill arch/m68k/amiga/amiga_ksyms.c 2008-02-05 09:44:23 -08:00
platform.c zorro/UAPI: Use proper types (endianness/size) in <linux/zorro.h> 2013-11-26 11:09:09 +01:00