s390/pci: no msleep in potential IRQ context
authorJan Glauber <jang@linux.vnet.ibm.com>
Wed, 5 Dec 2012 13:43:25 +0000 (14:43 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Wed, 5 Dec 2012 14:12:51 +0000 (09:12 -0500)
commitc59b9f92653f102856ca7802af551788c143a3a3
treeb850ff52a2ac92b258ef6ac51e614dd0d5fd708e
parentbafff1743f2b1bda24daba29c59f755aa2d505b7
s390/pci: no msleep in potential IRQ context

The PCI instructions may be used in IRQ context so scheduling is forbidden.
Use udelay and shorten the delay since we are now polling.

Signed-off-by: Jan Glauber <jang@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/include/asm/pci_insn.h