From: Ben Gras Date: Sun, 11 Jan 2009 23:47:03 +0000 (+0000) Subject: don't produce kernel output if serial debug is on. X-Git-Tag: v3.1.4~139 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/Bv9ARM.ch05.html?a=commitdiff_plain;h=3ca00a926cecee3dea4a149311038df87cbf5310;p=minix.git don't produce kernel output if serial debug is on. --- diff --git a/kernel/utility.c b/kernel/utility.c index 9998067dd..b2635ef78 100755 --- a/kernel/utility.c +++ b/kernel/utility.c @@ -82,7 +82,7 @@ int c; /* character to append */ kmess.km_next = (kmess.km_next + 1) % _KMESS_BUF_SIZE; } else { int p, outprocs[] = OUTPUT_PROCS_ARRAY; - if(minix_panicing) return; + if(minix_panicing || do_serial_debug) return; for(p = 0; outprocs[p] != NONE; p++) { if(isokprocn(outprocs[p]) && !isemptyn(outprocs[p])) { send_sig(outprocs[p], SIGKMESS);