Hisashi Hifumi 894cdde26b [S390] do local_irq_restore while spinning in spin_lock_irqsave.
In s390's spin_lock_irqsave, interrupts remain disabled while
spinning. In other architectures like x86 and powerpc, interrupts are
re-enabled while spinning if IRQ is not masked before spin_lock_irqsave
is called.

The following patch re-enables interrupts through local_irq_restore
while spinning for a lock acquisition.
This can improve system response.

[heiko.carstens@de.ibm.com: removed saving of pc]

Signed-off-by: Hisashi Hifumi <hifumi.hisashi@oss.ntt.co.jp>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
2008-01-26 14:11:31 +01:00
..
2007-10-19 11:53:41 -07:00
2007-10-12 16:12:59 +02:00
2008-01-26 14:11:25 +01:00
2007-10-12 16:12:59 +02:00
2007-07-17 10:23:11 -07:00
2007-10-16 09:43:10 -07:00
2007-10-22 12:52:49 +02:00
2007-10-22 12:52:49 +02:00
2008-01-26 14:11:12 +01:00
2007-05-11 08:29:34 -07:00
2008-01-26 14:11:27 +01:00
2007-10-17 08:42:47 -07:00
2008-01-26 14:11:31 +01:00
2007-10-22 12:52:49 +02:00
2008-01-26 14:11:11 +01:00
2007-07-27 12:29:19 +02:00