powerpc/tm: Remove interrupt disable in __switch_to()
authorMichael Neuling <mikey@neuling.org>
Wed, 2 Oct 2013 07:15:14 +0000 (17:15 +1000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 31 Oct 2013 05:19:17 +0000 (16:19 +1100)
commit7ba5fef7d9e1880635cbb2fd698e8a24dc366d0f
tree597d9ff718a5be854367e0598dc591fe486d003d
parentd0cebfa650a084f041131207d81f9b311babd5ef
powerpc/tm: Remove interrupt disable in __switch_to()

We currently turn IRQs off in __switch_to(0 but this is unnecessary as it's
already disabled in the caller.

This removes the IRQ disable but adds a check to make sure it is really off
in case this changes in future.

Signed-off-by: Michael Neuling <mikey@neuling.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/kernel/process.c