aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-sub-ui.c
diff options
context:
space:
mode:
authorArnd Bergmann <[email protected]>2023-05-22 21:50:17 +0200
committerPeter Zijlstra <[email protected]>2023-05-30 22:46:24 +0200
commitd55ebae3f3122b07689cc4c34043114e09ce904c (patch)
tree027360859d868ca623046372136bbbf55487cab0 /lib/mpi/mpi-sub-ui.c
parente2a1f85bf9f509afd09b5d3308e3489b65845c28 (diff)
sched: Hide unused sched_update_scaling()
This function is only used when CONFIG_SMP is enabled, without that there is no caller and no prototype: kernel/sched/fair.c:688:5: error: no previous prototype for 'sched_update_scaling' [-Werror=missing-prototypes Hide the definition in the same #ifdef check as the declaration. Fixes: 8a99b6833c88 ("sched: Move SCHED_DEBUG sysctl to debugfs") Signed-off-by: Arnd Bergmann <[email protected]> Signed-off-by: Peter Zijlstra (Intel) <[email protected]> Reviewed-by: Vincent Guittot <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions