powerpc/kprobes: Do not disable External interrupts during single step
authorSuzuki K. Poulose <suzuki@in.ibm.com>
Mon, 3 Dec 2012 15:07:42 +0000 (20:37 +0530)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 20 Jun 2013 06:55:09 +0000 (16:55 +1000)
commit85f395c5b0a26b3a80f9e2d35333981a2a75c0ae
tree016f687191178e44e41ca4e509c7266506084b64
parente80034047bee9ceacfc1bfff873ebfdd049817ca
powerpc/kprobes: Do not disable External interrupts during single step

External/Decrement exceptions have lower priority than the Debug Exception.
So, we don't have to disable the External interrupts before a single step.
However, on BookE, Critical Input Exception(CE) has higher priority than a
Debug Exception. Hence we mask them.

Signed-off-by: Suzuki K. Poulose <suzuki@in.ibm.com>
Cc: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Cc: Ananth N Mavinakaynahalli <ananth@in.ibm.com>
Cc: Kumar Gala <galak@kernel.crashing.org>
Cc: linuxppc-dev@ozlabs.org
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/kernel/kprobes.c