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
This commit is contained in:
Sebastian Andrzej Siewior 2020-01-17 10:01:35 +01:00 • committed by Thomas Gleixner
commit 5671d814db
3 changed files with 16 additions and 18 deletions