don't produce kernel output if serial debug is on.
This commit is contained in:
parent
d5f978411e
commit
3ca00a926c
@ -82,7 +82,7 @@ int c; /* character to append */
|
|||||||
kmess.km_next = (kmess.km_next + 1) % _KMESS_BUF_SIZE;
|
kmess.km_next = (kmess.km_next + 1) % _KMESS_BUF_SIZE;
|
||||||
} else {
|
} else {
|
||||||
int p, outprocs[] = OUTPUT_PROCS_ARRAY;
|
int p, outprocs[] = OUTPUT_PROCS_ARRAY;
|
||||||
if(minix_panicing) return;
|
if(minix_panicing || do_serial_debug) return;
|
||||||
for(p = 0; outprocs[p] != NONE; p++) {
|
for(p = 0; outprocs[p] != NONE; p++) {
|
||||||
if(isokprocn(outprocs[p]) && !isemptyn(outprocs[p])) {
|
if(isokprocn(outprocs[p]) && !isemptyn(outprocs[p])) {
|
||||||
send_sig(outprocs[p], SIGKMESS);
|
send_sig(outprocs[p], SIGKMESS);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user