Re: [v0][PATCH 1/1] powerpc/book3e: disable interrupt after preempt_schedule_irq

2013-01-23 Thread Benjamin Herrenschmidt
On Sun, 2013-01-06 at 18:49 +0800, Tiejun Chen wrote: > 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.

[v0][PATCH 1/1] powerpc/book3e: disable interrupt after preempt_schedule_irq

2013-01-06 Thread Tiejun Chen
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 --- arch/powerpc/kernel/entry_64