kernel-fxtec-pro1x/arch/parisc
Helge Deller d96b51ec14 parisc: fix irq stack on UP and SMP
The logic to detect if the irq stack was already in use with
raw_spin_trylock() is wrong, because it will generate a "trylock failure
on UP" error message with CONFIG_SMP=n and CONFIG_DEBUG_SPINLOCK=y.

arch_spin_trylock() can't be used either since in the CONFIG_SMP=n case
no atomic protection is given and we are reentrant here. A mutex didn't
worked either and brings more overhead by turning off interrupts.

So, let's use the fastest path for parisc which is the ldcw instruction.

Counting how often the irq stack was used is pretty useless, so just
drop this piece of code.

Signed-off-by: Helge Deller <deller@gmx.de>
2013-05-24 23:29:01 +02:00
..
configs
hpux
include parisc: fix irq stack on UP and SMP 2013-05-24 23:29:01 +02:00
kernel parisc: fix irq stack on UP and SMP 2013-05-24 23:29:01 +02:00
lib
math-emu
mm parisc: implement irq stacks - part 2 (v2) 2013-05-11 21:10:15 +02:00
oprofile
defpalo.conf
install.sh
Kconfig parisc: implement irq stacks - part 2 (v2) 2013-05-11 21:10:15 +02:00
Kconfig.debug parisc: add kernel stack overflow check 2013-05-07 21:34:07 +02:00
Makefile parisc: make default cross compiler search more robust (v3) 2013-05-13 22:11:57 +02:00
nm