Commit e8857288 authored by Sumit Garg's avatar Sumit Garg Committed by Daniel Thompson
Browse files

kdb: Check status of console prior to invoking handlers

parent 9d71b344
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -560,6 +560,8 @@ static void kdb_msg_write(const char *msg, int msg_len)
	}

	for_each_console(c) {
		if (!(c->flags & CON_ENABLED))
			continue;
		c->write(c, msg, msg_len);
		touch_nmi_watchdog();
	}