/* Disables and restores interrupts for mp_io(), which does the actual I/O.  */
static int multiport_io(struct gameport *gameport, int sendflags, int sendcode, u32 *packet)
/* Disables and restores interrupts for mp_io(), which does the actual I/O.  */
static int multiport_io(struct gameport *gameport, int sendflags, int sendcode, u32 *packet)
{
	int status;
	unsigned long flags;
	local_irq_save(flags);
	status = mp_io(gameport, sendflags, sendcode, packet);
	local_irq_restore(flags);
	return status;
}