/* Prevent further output on the passed console device so that (for example) serial drivers can disable console output before suspending a port, and can re-enable output afterwards.  */
void console_stop(struct console *console)
/* Prevent further output on the passed console device so that (for example) serial drivers can disable console output before suspending a port, and can re-enable output afterwards.  */
void console_stop(struct console *console)
{
	acquire_console_sem();
	console->flags &= ~CON_ENABLED;
	release_console_sem();
}