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>
Showing
- arch/s390/include/asm/processor.h 0 additions, 6 deletionsarch/s390/include/asm/processor.h
- arch/s390/kernel/processor.c 2 additions, 2 deletionsarch/s390/kernel/processor.c
- include/linux/sched.h 0 additions, 4 deletionsinclude/linux/sched.h
- include/linux/stop_machine.h 1 addition, 0 deletionsinclude/linux/stop_machine.h
- kernel/stop_machine.c 6 additions, 1 deletionkernel/stop_machine.c
Loading
Please register or sign in to comment