Skip to content

Commit d0b9ec2

Browse files
committed
Merge branch 'kgdb/for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/danielt/linux.git
2 parents 9fba422 + dd712d3 commit d0b9ec2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

kernel/debug/debug_core.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1006,6 +1006,9 @@ void kgdb_panic(const char *msg)
10061006
if (panic_timeout)
10071007
return;
10081008

1009+
debug_locks_off();
1010+
console_flush_on_panic(CONSOLE_FLUSH_PENDING);
1011+
10091012
if (dbg_kdb_mode)
10101013
kdb_printf("PANIC: %s\n", msg);
10111014

0 commit comments

Comments
 (0)