]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitef6f14f91a7a468bf171b18c3fd6d815afaacc8f
tree597d9ff718a5be854367e0598dc591fe486d003d
parent8d3e5c18f822d834894c37e96f6f259412412dcf
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