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
..
2009-03-27 14:25:27 +01:00
2011-10-14 12:24:31 +02:00
2010-10-21 15:51:41 +10:00
2011-03-31 11:26:23 -03:00
2009-03-27 14:25:33 +01:00
2009-03-27 14:25:35 +01:00
2009-05-22 09:50:46 +02:00
2010-08-04 10:45:17 +02:00
2010-06-09 11:12:36 +02:00
2011-07-26 16:49:47 -07:00
2009-03-27 14:25:42 +01:00
2010-10-21 15:51:20 +10:00
2009-03-27 14:25:44 +01:00
2011-07-26 16:49:43 -07:00
2010-10-21 15:51:25 +10:00
2009-03-27 14:25:15 +01:00
2009-07-06 10:26:57 +02:00
2009-03-27 14:25:39 +01:00
2011-01-16 14:29:21 +01:00
2010-04-01 08:38:24 +02:00
2011-10-14 12:24:27 +02:00
2011-05-28 10:48:39 -07:00
2010-08-04 10:22:35 +02:00