sched/headers: Split out open-coded prototypes into kernel/sched/smp.h
authorIngo Molnar <mingo@kernel.org>
Thu, 28 May 2020 09:01:34 +0000 (11:01 +0200)
committerIngo Molnar <mingo@kernel.org>
Thu, 28 May 2020 09:03:20 +0000 (11:03 +0200)
commit1f8db4150536431b031585ecc2a6793f69245de2
tree351bd6bc83a8ea21dc6d06f706eb789b13a2aa5a
parenta148866489fbe243c936fe43e4525d8dbfa0318f
sched/headers: Split out open-coded prototypes into kernel/sched/smp.h

Move the prototypes for sched_ttwu_pending() and send_call_function_single_ipi()
into the newly created kernel/sched/smp.h header, to make sure they are all
the same, and to architectures happy that use -Wmissing-prototypes.

Signed-off-by: Ingo Molnar <mingo@kernel.org>
kernel/sched/core.c
kernel/sched/smp.h [new file with mode: 0644]
kernel/smp.c