1
0
Files
linux/arch/microblaze/kernel
Peter Zijlstra 84ac218f02 microblaze: Remove __ARCH_WANT_INTERRUPTS_ON_CTXSW usage
As far as I can tell the only reason microblaze has
__ARCH_WANT_INTERRUPTS_ON_CTXSW is because it initializes new task state
with interrupts enabled so that on switch_to() interrupts get enabled.

So change copy_thread() to clear MSR_IE instead of set it, this will
ensure switch_to() will always keep IRQs disabled.

The scheduler will disable IRQs when taking rq->lock in schedule() and
enable IRQs in finish_lock_switch() after its done its magic.

This leaves ARM the only __ARCH_WANT_INTERRUPTS_ON_CTXSW user.

Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Signed-off-by: Michal Simek <monstr@monstr.eu>
2011-10-14 12:28:42 +02:00
..
2011-10-14 12:24:30 +02:00
2011-04-01 09:34:51 +02:00
2010-10-21 15:51:58 +10:00
2011-04-01 09:34:51 +02:00
2010-08-02 10:44:03 +02:00
2009-03-27 14:25:15 +01:00
2010-08-04 10:22:35 +02:00
2010-08-04 10:22:35 +02:00