commit | 572177d7c77db1981ba2563e01478126482c43bc | [log] [tgz] |
---|---|---|
author | Tiejun Chen <tiejun.chen@windriver.com> | Sun Jan 06 00:49:34 2013 +0000 |
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | Tue Jan 29 10:18:15 2013 +1100 |
tree | 89a68e8ee9014606031f98f0222f037eb7510aa1 | |
parent | 46ed7a76ae7770cb8ba733ee2b06273397ad8b5b [diff] |
powerpc/book3e: Disable interrupt after preempt_schedule_irq In preempt case current arch_local_irq_restore() from preempt_schedule_irq() may enable hard interrupt but we really should disable interrupts when we return from the interrupt, and so that we don't get interrupted after loading SRR0/1. Signed-off-by: Tiejun Chen <tiejun.chen@windriver.com> CC: <stable@vger.kernel.org> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>