diff options
author | Heiko Carstens <hca@linux.ibm.com> | 2023-02-28 13:57:50 +0100 |
---|---|---|
committer | Vasily Gorbik <gor@linux.ibm.com> | 2023-03-13 09:16:42 +0100 |
commit | 69a407bf81a8d70d51e1b7787da577e67447c9ea (patch) | |
tree | c2016b970ed4cddf41c8fab959128a3106098182 /arch/s390/kernel/smp.c | |
parent | 9b63fd2fc8526e51444de35598927e406b1bb26f (diff) | |
download | linux-stable-69a407bf81a8d70d51e1b7787da577e67447c9ea.tar.gz linux-stable-69a407bf81a8d70d51e1b7787da577e67447c9ea.tar.bz2 linux-stable-69a407bf81a8d70d51e1b7787da577e67447c9ea.zip |
s390/bp: remove __bpon()
There is no point in changing branch prediction state of a cpu shortly
before it enters stop state. Therefore remove __bpon().
Acked-by: Alexander Gordeev <agordeev@linux.ibm.com>
Reviewed-by: Sven Schnelle <svens@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Diffstat (limited to 'arch/s390/kernel/smp.c')
-rw-r--r-- | arch/s390/kernel/smp.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/s390/kernel/smp.c b/arch/s390/kernel/smp.c index d4888453bbf8..0126c5f6b904 100644 --- a/arch/s390/kernel/smp.c +++ b/arch/s390/kernel/smp.c @@ -348,7 +348,6 @@ static void pcpu_delegate(struct pcpu *pcpu, abs_lc->restart_source = source_cpu; put_abs_lowcore(abs_lc); } - __bpon(); asm volatile( "0: sigp 0,%0,%2 # sigp restart to target cpu\n" " brc 2,0b # busy, try again\n" @@ -986,7 +985,6 @@ void __cpu_die(unsigned int cpu) void __noreturn cpu_die(void) { idle_task_exit(); - __bpon(); pcpu_sigp_retry(pcpu_devices + smp_processor_id(), SIGP_STOP, 0); for (;;) ; } |