kernels/linux-2.4.0/arch/s390/kernel/irq.c
/*
 * This is called when we want to synchronize with
 * interrupts. We may for example tell a device to
 * stop sending interrupts: but to make sure there
 * are no interrupts that are executing on another
 * CPU we need to call this function.
 */
This is called when we want to synchronize with
interrupts. We may for example tell a device to
stop sending interrupts: but to make sure there
are no interrupts that are executing on another
CPU we need to call this function.
This is called when we want to synchronize with interrupts . We may for example tell a device to stop sending interrupts : but to make sure there are no interrupts that are executing on another CPU we need to call this function .
void synchronize_irq(void)
{
	if (atomic_read(&global_irq_count)) {
		cli();
		sti();
	}
}
void synchronize_irq ( void ) { if ( atomic_read ( & global_irq_count ) ) { cli ( ) ; sti ( ) ; } }
This is called when we want to synchronize with
 interrupts.
This is called when we want to synchronize with interrupts .
/* Stupid approach */