kernels/linux-2.4.0/drivers/s390/char/con3215.c
/*
 * Flush routine, it simply sets the flush flag and tries to start 
 * pending IO.
 */
Flush routine, it simply sets the flush flag and tries to start
pending IO.
Flush routine it simply sets the flush flag and tries to start pending IO .
static void raw3215_flush_buffer(raw3215_info *raw)
{
	unsigned long flags;
	s390irq_spin_lock_irqsave(raw->irq, flags);
	if (raw->count > 0) {
		raw->flags |= RAW3215_FLUSHING;
		raw3215_try_io(raw);
		raw->flags &= ~RAW3215_FLUSHING;
	}
	s390irq_spin_unlock_irqrestore(raw->irq, flags);
}
static void raw3215_flush_buffer ( raw3215_info * raw ) { unsigned long flags ; s390irq_spin_lock_irqsave ( raw -> irq , flags ) ; if ( raw -> count > 0 ) { raw -> flags |= RAW3215_FLUSHING ; raw3215_try_io ( raw ) ; raw -> flags &= ~ RAW3215_FLUSHING ; } s390irq_spin_unlock_irqrestore ( raw -> irq , flags ) ; }
Flush routine, it simply sets the flush flag and tries to start
 pending IO.
Flush routine it simply sets the flush flag and tries to start pending IO .