static int sclp_console_notify(struct notifier_block *self, unsigned long event, void *data) { sclp_console_flush(); return NOTIFY_OK; }
static void sclp_console_suspend(void) { unsigned long flags; spin_lock_irqsave(&sclp_con_lock, flags); sclp_con_suspended = 1; spin_unlock_irqrestore(&sclp_con_lock, flags); sclp_console_flush(); }