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 31df1706b9a9..1afeb5c1e5a9 100644 --- a/kernel/debug/kdb/kdb_main.c +++ b/kernel/debug/kdb/kdb_main.c | |||
@@ -2100,6 +2100,8 @@ static int kdb_dmesg(int argc, const char **argv) | |||
2100 | } | 2100 | } |
2101 | if (!lines--) | 2101 | if (!lines--) |
2102 | break; | 2102 | break; |
2103 | if (KDB_FLAG(CMD_INTERRUPT)) | ||
2104 | return 0; | ||
2103 | 2105 | ||
2104 | kdb_printf("%.*s\n", (int)len - 1, buf); | 2106 | kdb_printf("%.*s\n", (int)len - 1, buf); |
2105 | } | 2107 | } |