cio.c (b7e56edba4b02f2079042c326a8cd72a44635817) cio.c (27d71602b4a605fbb31088e69ac12187e69a9443)
1/*
2 * drivers/s390/cio/cio.c
3 * S/390 common I/O routines -- low level i/o calls
4 *
5 * Copyright IBM Corp. 1999,2008
6 * Author(s): Ingo Adlung (adlung@de.ibm.com)
7 * Cornelia Huck (cornelia.huck@de.ibm.com)
8 * Arnd Bergmann (arndb@de.ibm.com)

--- 647 unchanged lines hidden (view full) ---

656 spin_unlock(sch->lock);
657 /*
658 * Are more interrupts pending?
659 * If so, the tpi instruction will update the lowcore
660 * to hold the info for the next interrupt.
661 * We don't do this for VM because a tpi drops the cpu
662 * out of the sie which costs more cycles than it saves.
663 */
1/*
2 * drivers/s390/cio/cio.c
3 * S/390 common I/O routines -- low level i/o calls
4 *
5 * Copyright IBM Corp. 1999,2008
6 * Author(s): Ingo Adlung (adlung@de.ibm.com)
7 * Cornelia Huck (cornelia.huck@de.ibm.com)
8 * Arnd Bergmann (arndb@de.ibm.com)

--- 647 unchanged lines hidden (view full) ---

656 spin_unlock(sch->lock);
657 /*
658 * Are more interrupts pending?
659 * If so, the tpi instruction will update the lowcore
660 * to hold the info for the next interrupt.
661 * We don't do this for VM because a tpi drops the cpu
662 * out of the sie which costs more cycles than it saves.
663 */
664 } while (!MACHINE_IS_VM && tpi (NULL) != 0);
664 } while (MACHINE_IS_LPAR && tpi(NULL) != 0);
665 irq_exit();
666 set_irq_regs(old_regs);
667}
668
669#ifdef CONFIG_CCW_CONSOLE
670static struct subchannel console_subchannel;
671static struct io_subchannel_private console_priv;
672static int console_subchannel_in_use;

--- 484 unchanged lines hidden ---
665 irq_exit();
666 set_irq_regs(old_regs);
667}
668
669#ifdef CONFIG_CCW_CONSOLE
670static struct subchannel console_subchannel;
671static struct io_subchannel_private console_priv;
672static int console_subchannel_in_use;

--- 484 unchanged lines hidden ---