diff options
author | Milton Miller <miltonm@bga.com> | 2008-10-09 21:56:45 -0400 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2008-10-13 01:24:20 -0400 |
commit | 22d660ffd0db8d136b122751287d186e869ca474 (patch) | |
tree | 504f38589a833dd892073713eea1022196711504 /arch/powerpc | |
parent | 199f45c45e8d4f58a5f568464be933534460eb82 (diff) |
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>
Diffstat (limited to 'arch/powerpc')
-rw-r--r-- | arch/powerpc/kernel/smp.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/powerpc/kernel/smp.c b/arch/powerpc/kernel/smp.c index 5337ca7bb649..3ee736fa8b1d 100644 --- a/arch/powerpc/kernel/smp.c +++ b/arch/powerpc/kernel/smp.c | |||
@@ -101,8 +101,7 @@ void smp_message_recv(int msg) | |||
101 | generic_smp_call_function_interrupt(); | 101 | generic_smp_call_function_interrupt(); |
102 | break; | 102 | break; |
103 | case PPC_MSG_RESCHEDULE: | 103 | case PPC_MSG_RESCHEDULE: |
104 | /* XXX Do we have to do this? */ | 104 | /* we notice need_resched on exit */ |
105 | set_need_resched(); | ||
106 | break; | 105 | break; |
107 | case PPC_MSG_CALL_FUNC_SINGLE: | 106 | case PPC_MSG_CALL_FUNC_SINGLE: |
108 | generic_smp_call_function_single_interrupt(); | 107 | generic_smp_call_function_single_interrupt(); |