]> git.baikalelectronics.ru Git - kernel.git/commit
processor: get rid of cpu_relax_yield
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Sat, 8 Jun 2019 10:13:57 +0000 (12:13 +0200)
committerHeiko Carstens <heiko.carstens@de.ibm.com>
Sat, 15 Jun 2019 10:25:55 +0000 (12:25 +0200)
commit0745d0cd9532b271cc129062cc402c651ea1fca4
treed7c164a2215c69a17b319076b64dd99ea1f85351
parent4a39b05f2ab27b26b9c74d7c540c686f70331d9a
processor: get rid of cpu_relax_yield

stop_machine is the only user left of cpu_relax_yield. Given that it
now has special semantics which are tied to stop_machine introduce a
weak stop_machine_yield function which architectures can override, and
get rid of the generic cpu_relax_yield implementation.

Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Acked-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
arch/s390/include/asm/processor.h
arch/s390/kernel/processor.c
include/linux/sched.h
include/linux/stop_machine.h
kernel/stop_machine.c