linux/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 kconfig: rename CONFIG_EMBEDDED to CONFIG_EXPERT 2011-01-20 17:02:05 -08:00
hpux [PARISC] hpux: Remove obsolete regs parameter from do_execve() in hpux_execve() 2013-01-30 13:26:57 +11:00
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 parisc: Provide __ucmpdi2 to resolve undefined references in 32 bit builds. 2013-04-25 22:36:15 +02:00
math-emu parisc: avoid undefined shift in cnv_float.h 2013-01-07 23:06:22 +01:00
mm parisc: implement irq stacks - part 2 (v2) 2013-05-11 21:10:15 +02:00
oprofile
defpalo.conf
install.sh kbuild: use INSTALLKERNEL to select customized installkernel script 2009-09-20 12:18:14 +02:00
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