set_dprintf_enabled() always enables serial debugging
|Reported by:||jkloetzke||Owned by:||axeld|
|Has a Patch:||no||Platform:||All|
The function set_dprintf_enabled() always enables serial debug output unconditionally. This is somewhat confusing if this is was switched off in the kernel settings.
Especially it may be sometimes neccessary to _not_ use serial debugging but use the syslog method because dprintf is very slow on serial lines and the corresponding thread uses massive amounts of CPU time to wait on serial line. Furthermore the machine may have no serial output at all.