WSL2-Linux-Kernel/arch/m68k/atari
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
..
Makefile m68k: Remove the broken Hades support 2008-10-14 10:23:27 -07:00
ataints.c m68k/atari: EtherNAT - add interrupt chip definition for CPLD interrupts 2013-04-16 21:35:39 +02:00
atakeyb.c input/atari: Use the correct mouse interrupt hook 2011-05-19 18:19:11 +02:00
atasound.c Disintegrate asm/system.h for M68K 2012-03-28 18:30:02 +01:00
config.c m68k/UAPI: Use proper types (endianness/size) in <asm/bootinfo*.h> 2013-11-26 11:09:21 +01:00
debug.c m68k/amiga,atari: Fix specifying multiple debug= parameters 2013-12-08 11:03:21 +01:00
stdma.c m68k/atari: Do not use "/" in interrupt names 2011-05-19 18:19:10 +02:00
stram.c m68k/atari: Reserve some ST-RAM early on for device buffer use 2011-07-30 21:21:39 +02:00
time.c m68k: set arch_gettimeoffset directly 2012-12-24 09:36:34 -07:00