[PATCH] work around ppc64 bootup bug by making mutex-debugging save/restore irqs
authorIngo Molnar <mingo@elte.hu>
Mon, 26 Jun 2006 07:24:31 +0000 (00:24 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 26 Jun 2006 16:58:16 +0000 (09:58 -0700)
It seems ppc64 wants to lock mutexes in early bootup code, with interrupts
disabled, and they expect interrupts to stay disabled, else they crash.

Work around this bug by making mutex debugging variants save/restore irq
flags.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Paul Mackerras <paulus@samba.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
kernel/mutex-debug.c
kernel/mutex-debug.h
kernel/mutex.c
kernel/mutex.h

Simple merge
Simple merge
diff --cc kernel/mutex.c
Simple merge
diff --cc kernel/mutex.h
Simple merge