]> git.karo-electronics.de Git - karo-tx-linux.git/commit
parisc: use arch_spinlock_t instead of raw_spinlock_t in irqstacks
authorHelge Deller <deller@gmx.de>
Sat, 18 May 2013 22:21:13 +0000 (22:21 +0000)
committerHelge Deller <deller@gmx.de>
Sun, 19 May 2013 09:15:41 +0000 (11:15 +0200)
commit1c92ce8487f6642621d52fadc499c9a76e4878f0
tree0bb04bab272db7e4daf87a9e56319ce4661609da
parent3ae5abd70282d8993d5786d94db512fe66b902a2
parisc: use arch_spinlock_t instead of raw_spinlock_t in irqstacks

We need to use arch_spinlock_t spinlocks instead of raw_spinlock_t
spinlocks for irqstack protection else we will hit the "trylock failure
on UP" error message with CONFIG_SMP=n and CONFIG_DEBUG_SPINLOCK=y.

Since we can be called recursive here even on UP (we are in the irq
handler which handles even irq bh) this spinlock error message is just
wrong.

Signed-off-by: Helge Deller <deller@gmx.de>
arch/parisc/include/asm/processor.h
arch/parisc/kernel/irq.c