kernels/linux-2.4.0/drivers/s390/char/con3215.c
/*
 * panic() calls console_unblank before the system enters a
 * disabled, endless loop.
 */
panic() calls console_unblank before the system enters a
disabled, endless loop.
panic () calls console_unblank before the system enters a disabled endless loop .
void con3215_unblank(void)
{
	raw3215_info *raw;
	unsigned long flags;
	raw = raw3215[0];  
	s390irq_spin_lock_irqsave(raw->irq, flags);
	while (raw->count > 0) {
		raw->flags |= RAW3215_FLUSHING;
		raw3215_try_io(raw);
		if (wait_cons_dev(raw->irq) != 0) {
			raw->count = 0;
		}
		raw->flags &= ~RAW3215_FLUSHING;
	}
	s390irq_spin_unlock_irqrestore(raw->irq, flags);
}
void con3215_unblank ( void ) { raw3215_info * raw ; unsigned long flags ; raw = raw3215 [ 0 ] ; s390irq_spin_lock_irqsave ( raw -> irq , flags ) ; while ( raw -> count > 0 ) { raw -> flags |= RAW3215_FLUSHING ; raw3215_try_io ( raw ) ; if ( wait_cons_dev ( raw -> irq ) != 0 ) { raw -> count = 0 ; } raw -> flags &= ~ RAW3215_FLUSHING ; } s390irq_spin_unlock_irqrestore ( raw -> irq , flags ) ; }
panic() calls console_unblank before the system enters a
 disabled, endless loop.
panic () calls console_unblank before the system enters a disabled endless loop .
/* console 3215 is the first one */ /* there might be a request pending */ /* that shouldn't happen */