summaryrefslogtreecommitdiffstats
path: root/kernel/debug/kdb/kdb_bt.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/debug/kdb/kdb_bt.c')
-rw-r--r--kernel/debug/kdb/kdb_bt.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/debug/kdb/kdb_bt.c b/kernel/debug/kdb/kdb_bt.c
index 07c9bbb94a0b..b03e0e814e43 100644
--- a/kernel/debug/kdb/kdb_bt.c
+++ b/kernel/debug/kdb/kdb_bt.c
@@ -129,6 +129,8 @@ kdb_bt(int argc, const char **argv)
}
/* Now the inactive tasks */
kdb_do_each_thread(g, p) {
+ if (KDB_FLAG(CMD_INTERRUPT))
+ return 0;
if (task_curr(p))
continue;
if (kdb_bt1(p, mask, argcount, btaprompt))