smp: Use smp_cond_func_t as type for the conditional function
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>
Fri, 17 Jan 2020 09:01:35 +0000 (10:01 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Fri, 24 Jan 2020 19:40:08 +0000 (20:40 +0100)
commit5671d814dbd204b4ecc705045b5f1a647bff6f3b
tree5748dce77b017f603958d4350703f439f2cfb257
parentdef9d2780727cec3313ed3522d0123158d87224d
smp: Use smp_cond_func_t as type for the conditional function

Use a typdef for the conditional function instead defining it each time in
the function prototype.

Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lore.kernel.org/r/20200117090137.1205765-2-bigeasy@linutronix.de
include/linux/smp.h
kernel/smp.c
kernel/up.c