]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit0d2bffaa9c869fce293df0beb80ba684b641c48c
treed337fb8dca27a719221d9012292e72c55e7267d1
parentc4076826b22f27a4e6704d957ee675dbeab6219f
[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