powerpc: Fix power4/970 idle code regression with lockdep
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 15 Mar 2012 22:26:59 +0000 (09:26 +1100)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 15 Mar 2012 22:28:17 +0000 (09:28 +1100)
commit01e8ec4417d3c484986af0adaa0ae6632e0a59cd
tree46c760b18c2c5f089ac4043f95de4fd420c1b082
parent7d3d897a4697e4ff746e5e82f116b2346ed28150
powerpc: Fix power4/970 idle code regression with lockdep

in commit 7230c5644188cd9e3fb380cc97dde00c464a3ba7
"powerpc: Rework lazy-interrupt handling"

I introduced a regression, accidentally calling irq tracing twice
and not properly restoring a clobbered register (r7) later used
for writing to the MSR.

This caused lockups when booting on a G5 with lockdep enabled.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/kernel/idle_power4.S