]> 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)
commit2783f786c4131d48457663166f766c5fef85ad49
tree597d9ff718a5be854367e0598dc591fe486d003d
parentba1aed2e184241f68429c775ebf118b41dfcc79f
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