sparc64: Add self-IPI support for smp_send_reschedule()
authorKirill Tkhai <tkhai@yandex.ru>
Sat, 14 Sep 2013 12:00:09 +0000 (16:00 +0400)
committerDavid S. Miller <davem@davemloft.net>
Thu, 14 Nov 2013 22:56:50 +0000 (14:56 -0800)
commit1a36265bf7d7e16b35fab5ae7f2f5d499bd0c14d
treedeed30adefe83b47a661230a9876f9370141c5e9
parent557fc5873ef178c4b3e1e36a42db547ecdc43f9b
sparc64: Add self-IPI support for smp_send_reschedule()

CONFIG_NO_HZ_FULL requires possibility of smp_send_reschedule()
for the calling CPU. Currently, it is used in inc_nr_running()
scheduler primitive only.

Nobody calls smp_send_reschedule() from preemptible context
(furthermore, it looks like it will be save if anybody use it
another way in the future). But anyway I add WARN_ON() here
just to return here if anything changes.

Signed-off-by: Kirill Tkhai <tkhai@yandex.ru>
CC: David Miller <davem@davemloft.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/kernel/smp_64.c