sched/topology: Move the declaration of 'schedutil_gov' to kernel/sched/sched.h
authorIngo Molnar <mingo@kernel.org>
Mon, 9 Oct 2023 15:31:26 +0000 (17:31 +0200)
committerIngo Molnar <mingo@kernel.org>
Mon, 9 Oct 2023 15:33:10 +0000 (17:33 +0200)
commitf2273f4e19e29f7d0be6a2393f18369cd1b496c8
tree247d910efc773255471a3ac1f9c1ce190b7a9712
parent8f833c82cdab7b4049bcfe88311d35fa5f24e422
sched/topology: Move the declaration of 'schedutil_gov' to kernel/sched/sched.h

Move it out of the .c file into the shared scheduler-internal header file,
to gain type-checking.

Signed-off-by: Ingo Molnar <mingo@kernel.org>
Cc: Shrikanth Hegde <sshegde@linux.vnet.ibm.com>
Cc: Valentin Schneider <vschneid@redhat.com>
Link: https://lore.kernel.org/r/20231009060037.170765-3-sshegde@linux.vnet.ibm.com
kernel/sched/sched.h
kernel/sched/topology.c