linux/arch
Heiko Carstens b771aeac32 [S390] Fix IRQ tracing.
If a machine check is pending and the external or I/O interrupt handler
returns to userspace io_mcck_pending is going to call s390_handle_mcck.
Before this happens a call to TRACE_IRQS_ON was already made since we
know that we are going back to userspace and hence interrupts will be
enabled. So there was an indication that interrupts are enabled while
in reality they are still disabled.
s390_handle_mcck will do a local_irq_save/restore pair and confuse
lockdep which later complains about inconsistent irq tracing.
To solve this just call trace_hardirqs_off before calling
s390_handle_mcck and trace_hardirqs_on afterwards.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
2007-07-27 12:29:19 +02:00
..
alpha deal with alpha section warnings 2007-07-26 11:11:57 -07:00
arm [BLOCK] Get rid of request_queue_t typedef 2007-07-24 09:28:11 +02:00
arm26 take declarations of enable_irq() et.al. to linux/interrupt.h 2007-07-22 11:44:00 -07:00
avr32 Merge branch 'for-linus' of git://git.o-hand.com/linux-rpurdie-leds 2007-07-22 11:22:01 -07:00
blackfin some kmalloc/memset ->kzalloc (tree wide) 2007-07-19 10:04:50 -07:00
cris Merge git://git.kernel.org/pub/scm/linux/kernel/git/sam/kbuild 2007-07-19 14:28:19 -07:00
frv FRV: work around a possible compiler bug 2007-07-19 10:04:50 -07:00
h8300 PTRACE_POKEDATA consolidation 2007-07-17 10:23:03 -07:00
i386 Revert most of "x86: Fix alternatives and kprobes to remap write-protected kernel text" 2007-07-26 12:07:21 -07:00
ia64 cyclone.c: silly use of volatile, __iomem fixes 2007-07-26 11:11:57 -07:00
m32r m32r: Fix ei_tx_timeout() in drivers/net/lib8390.c 2007-07-26 11:35:20 -07:00
m68k take declarations of enable_irq() et.al. to linux/interrupt.h 2007-07-22 11:44:00 -07:00
m68knommu m68knommu: use setup_irq() in 68328 timer code 2007-07-26 11:05:20 -07:00
mips [MIPS] Fix marge error due to conflict in arch/mips/kernel/head.S 2007-07-24 16:02:48 +01:00
parisc define new percpu interface for shared data 2007-07-19 10:04:44 -07:00
powerpc Merge branch 'fixes-2.6.23' of master.kernel.org:/pub/scm/linux/kernel/git/galak/powerpc into merge 2007-07-26 16:43:24 +10:00
ppc [POWERPC] mv64x60: Use mutex instead of semaphore 2007-07-22 21:30:58 +10:00
s390 [S390] Fix IRQ tracing. 2007-07-27 12:29:19 +02:00
sh clockevents: fix resume logic 2007-07-21 17:49:15 -07:00
sh64 sh64: Flag sh64_get_page() as __init_refok. 2007-07-20 17:46:42 +09:00
sparc [SPARC32]: Fix bug in sparc optimized memset. 2007-07-24 13:41:44 -07:00
sparc64 viohs: extern on function definition 2007-07-26 11:11:56 -07:00
um Merge branch 'request-queue-t' of git://git.kernel.dk/linux-2.6-block 2007-07-24 12:26:44 -07:00
v850 PTRACE_POKEDATA consolidation 2007-07-17 10:23:03 -07:00
x86_64 Revert most of "x86: Fix alternatives and kprobes to remap write-protected kernel text" 2007-07-26 12:07:21 -07:00
xtensa Merge git://git.kernel.org/pub/scm/linux/kernel/git/sam/kbuild 2007-07-19 14:28:19 -07:00