summaryrefslogtreecommitdiff
path: root/drivers/idle
diff options
context:
space:
mode:
authorSteven Rostedt <rostedt@goodmis.org>2014-04-10 00:18:44 (GMT)
committerScott Wood <scottwood@freescale.com>2014-04-10 00:18:44 (GMT)
commit47dc7448154ce49de9f8dc663208b94ba4729218 (patch)
treef5bc89d96ff8834617ee0eaa200107cc6d801149 /drivers/idle
parent8a04f7be7702e31db4eb061f4186476e3625ac65 (diff)
downloadlinux-fsl-qoriq-47dc7448154ce49de9f8dc663208b94ba4729218.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/idle')
0 files changed, 0 insertions, 0 deletions