[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)
commit1fb00c6cbd8356f43b46322742f3c01c2a1f02da
treed337fb8dca27a719221d9012292e72c55e7267d1
parent20c5426f8155a89b6df06325f9b278f5052b8c7e
[PATCH] work around ppc64 bootup bug by making mutex-debugging save/restore irqs

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