Merge tag 'for_linus-3.7' of git://git.kernel.org/pub/scm/linux/kernel/git/jwessel...
[platform/adaptation/renesas_rcar/renesas_kernel.git] / kernel / debug / kdb / kdb_main.c
index 1261dc7..4d5f8d5 100644 (file)
@@ -2101,6 +2101,8 @@ static int kdb_dmesg(int argc, const char **argv)
                }
                if (!lines--)
                        break;
+               if (KDB_FLAG(CMD_INTERRUPT))
+                       return 0;
 
                kdb_printf("%.*s\n", (int)len - 1, buf);
        }