WSL2-Linux-Kernel/arch
David S. Miller 0c25e9e6cb sparc64: Adjust __raw_local_irq_save() to cooperate in NMIs.
If we are in an NMI then doing a plain raw_local_irq_disable() will
write PIL_NORMAL_MAX into %pil, which is lower than PIL_NMI, and thus
we'll re-enable NMIs and recurse.

Doing a simple:

	%pil = %pil | PIL_NORMAL_MAX

does what we want, if we're already at PIL_NMI (15) we leave it at
that setting, else we set it to PIL_NORMAL_MAX (14).

This should get the function tracer working on sparc64.

Signed-off-by: David S. Miller <davem@davemloft.net>
2010-04-12 22:21:52 -07:00
..
alpha alpha: fix compile errors in dma-mapping-common.h 2010-03-18 22:35:28 -04:00
arm ARM: 6006/1: ARM: Use the correct NOP size in memmove for Thumb-2 kernel builds 2010-03-29 17:33:33 +01:00
avr32
blackfin
cris frv/chris: fix lines with a missing semicolons 2010-03-29 09:37:14 -07:00
frv frv/chris: fix lines with a missing semicolons 2010-03-29 09:37:14 -07:00
h8300
ia64
m32r
m68k
m68knommu
microblaze microblaze: Support word copying in copy_tofrom_user 2010-04-01 08:38:25 +02:00
mips
mn10300
parisc
powerpc Merge branch 'merge' of git://git.secretlab.ca/git/linux-2.6 2010-04-02 19:49:50 -07:00
s390 [S390] fix boot failures with compressed kernels 2010-03-24 11:49:54 +01:00
score
sh sh: Fix up the SH-3 build for recent TLB changes. 2010-04-02 16:13:27 +09:00
sparc sparc64: Adjust __raw_local_irq_save() to cooperate in NMIs. 2010-04-12 22:21:52 -07:00
um
x86 x86: Make sure free_init_pages() frees pages on page boundary 2010-03-29 18:55:33 +02:00
xtensa
.gitignore
Kconfig