powerpc/smp: No need to set_need_resched when getting a resched IPI
The comment in the code was asking "Do we have to do this?", and according to x86 and s390 the answer is no, the scheduler will do it before calling the arch hook. Signed-off-by: Milton Miller <miltonm@bga.com> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
This commit is contained in:
parent
199f45c45e
commit
22d660ffd0
|
@ -101,8 +101,7 @@ void smp_message_recv(int msg)
|
||||||
generic_smp_call_function_interrupt();
|
generic_smp_call_function_interrupt();
|
||||||
break;
|
break;
|
||||||
case PPC_MSG_RESCHEDULE:
|
case PPC_MSG_RESCHEDULE:
|
||||||
/* XXX Do we have to do this? */
|
/* we notice need_resched on exit */
|
||||||
set_need_resched();
|
|
||||||
break;
|
break;
|
||||||
case PPC_MSG_CALL_FUNC_SINGLE:
|
case PPC_MSG_CALL_FUNC_SINGLE:
|
||||||
generic_smp_call_function_single_interrupt();
|
generic_smp_call_function_single_interrupt();
|
||||||
|
|
Loading…
Reference in New Issue