don't produce kernel output if serial debug is on.

This commit is contained in:
Ben Gras 2009-01-11 23:47:03 +00:00
parent d5f978411e
commit 3ca00a926c

View File

@ -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);