s390/smp: only send external call ipi if needed
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Tue, 3 Dec 2013 09:06:29 +0000 (10:06 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Mon, 16 Dec 2013 13:37:43 +0000 (14:37 +0100)
commitdea24190fbfb340dea5224e32161955514bef31b
tree8d2ea60d07e9f6291f22ef78fa69c7726430087b
parente6b2551425d961e68e70e806e22ec40787f7ed67
s390/smp: only send external call ipi if needed

If the per cpu ec_mask bit of the receiving cpu is already set there is
no need to send an ipi, since a different cpu has already sent an ipi
and the receiving cpu has not yet executed the external call ipi handler.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/kernel/smp.c