summaryrefslogtreecommitdiff
path: root/drivers/mfd
diff options
context:
space:
mode:
authorSteven Rostedt <rostedt@goodmis.org>2014-04-25 01:44:46 (GMT)
committerScott Wood <scottwood@freescale.com>2015-02-13 22:20:14 (GMT)
commit7de899ef9cd8732947d53bf28ba06e269941cdad (patch)
tree9045d1e48d682b547b50c98b92b576f7eb5e2b86 /drivers/mfd
parent378176cee4527cb6ee052996ea2b5930c8fc1b94 (diff)
downloadlinux-fsl-qoriq-7de899ef9cd8732947d53bf28ba06e269941cdad.tar.xz
x86: Do not disable preemption in int3 on 32bit
Preemption must be disabled before enabling interrupts in do_trap on x86_64 because the stack in use for int3 and debug is a per CPU stack set by th IST. But 32bit does not have an IST and the stack still belongs to the current task and there is no problem in scheduling out the task. Keep preemption enabled on X86_32 when enabling interrupts for do_trap(). The name of the function is changed from preempt_conditional_sti/cli() to conditional_sti/cli_ist(), to annotate that this function is used when the stack is on the IST. Cc: stable-rt@vger.kernel.org Signed-off-by: Steven Rostedt <rostedt@goodmis.org> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'drivers/mfd')
0 files changed, 0 insertions, 0 deletions