projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
acb4a84
)
sched: Fix build warning in get_update_sysctl_factor()
author
Mike Galbraith
<efault@gmx.de>
Thu, 10 Dec 2009 08:25:53 +0000
(09:25 +0100)
committer
Ingo Molnar
<mingo@elte.hu>
Thu, 10 Dec 2009 08:34:50 +0000
(09:34 +0100)
Signed-off-by: Mike Galbraith <efault@gmx.de>
Acked-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
LKML-Reference: <new-submission>
kernel/sched.c
patch
|
blob
|
blame
|
history
diff --git
a/kernel/sched.c
b/kernel/sched.c
index 0a60e8e9b094cf8b0a195d43d0ab22030ff72628..3de3deab809594a1264e5be9e544167ea45d2924 100644
(file)
--- a/
kernel/sched.c
+++ b/
kernel/sched.c
@@
-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) {