diff options
Diffstat (limited to 'kernel/debug/kdb/kdb_main.c')
-rw-r--r-- | kernel/debug/kdb/kdb_main.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/debug/kdb/kdb_main.c b/kernel/debug/kdb/kdb_main.c index 1261dc7eaeb9..4d5f8d5612f3 100644 --- a/kernel/debug/kdb/kdb_main.c +++ b/kernel/debug/kdb/kdb_main.c | |||
@@ -2101,6 +2101,8 @@ static int kdb_dmesg(int argc, const char **argv) | |||
2101 | } | 2101 | } |
2102 | if (!lines--) | 2102 | if (!lines--) |
2103 | break; | 2103 | break; |
2104 | if (KDB_FLAG(CMD_INTERRUPT)) | ||
2105 | return 0; | ||
2104 | 2106 | ||
2105 | kdb_printf("%.*s\n", (int)len - 1, buf); | 2107 | kdb_printf("%.*s\n", (int)len - 1, buf); |
2106 | } | 2108 | } |