Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 175593
b: refs/heads/master
c: 4ca3ef7
h: refs/heads/master
i:
  175591: 27cabfa
v: v3
  • Loading branch information
Mike Galbraith authored and Ingo Molnar committed Dec 10, 2009
1 parent f723e43 commit 3469904
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: acb4a848da821a095ae9e4d8b22ae2d9633ba5cd
refs/heads/master: 4ca3ef71f54655af98b66e8ff308a47a2a580a53
2 changes: 1 addition & 1 deletion trunk/kernel/sched.c
Original file line number Diff line number Diff line change
Expand Up @@ -7033,7 +7033,7 @@ cpumask_var_t nohz_cpu_mask;
*/
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;

switch (sysctl_sched_tunable_scaling) {
Expand Down

0 comments on commit 3469904

Please sign in to comment.