Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4ca3ef71 authored by Mike Galbraith's avatar Mike Galbraith Committed by Ingo Molnar
Browse files

sched: Fix build warning in get_update_sysctl_factor()



Signed-off-by: default avatarMike Galbraith <efault@gmx.de>
Acked-by: default avatarPeter Zijlstra <a.p.zijlstra@chello.nl>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
LKML-Reference: <new-submission>
parent acb4a848
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -7033,7 +7033,7 @@ cpumask_var_t nohz_cpu_mask;
 */
 */
static int get_update_sysctl_factor(void)
static int get_update_sysctl_factor(void)
{
{
	unsigned int cpus = min(num_online_cpus(), 8);
	unsigned int cpus = min_t(int, num_online_cpus(), 8);
	unsigned int factor;
	unsigned int factor;


	switch (sysctl_sched_tunable_scaling) {
	switch (sysctl_sched_tunable_scaling) {