]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0bc8df28d37447c5fbcc2a1e59172afd697ec23e
tree5748dce77b017f603958d4350703f439f2cfb257
parentf85da7ea4f5a17b2c83170feeeeddd6691503a52
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