1
0
Fork 0
alistair23-linux/kernel/debug
Borislav Petkov a8fe19ebfb kernel/printk: use symbolic defines for console loglevels
... instead of naked numbers.

Stuff in sysrq.c used to set it to 8 which is supposed to mean above
default level so set it to DEBUG instead as we're terminating/killing all
tasks and we want to be verbose there.

Also, correct the check in x86_64_start_kernel which should be >= as
we're clearly issuing the string there for all debug levels, not only
the magical 10.

Signed-off-by: Borislav Petkov <bp@suse.de>
Acked-by: Kees Cook <keescook@chromium.org>
Acked-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Joe Perches <joe@perches.com>
Cc: Valdis Kletnieks <Valdis.Kletnieks@vt.edu>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2014-06-04 16:54:17 -07:00
..
kdb kernel/printk: use symbolic defines for console loglevels 2014-06-04 16:54:17 -07:00
Makefile kdb: core for kgdb back end (1 of 2) 2010-05-20 21:04:20 -05:00
debug_core.c arch: Mass conversion of smp_mb__*() 2014-04-18 14:20:48 +02:00
debug_core.h kgdb/kdb: Fix no KDB config problem 2014-01-25 08:55:09 +01:00
gdbstub.c KGDB/KDB fixes and cleanups 2013-03-02 08:31:39 -08:00