diff options
author | Olof Johansson <olof@lixom.net> | 2018-11-25 23:41:05 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2018-12-27 19:40:15 +0100 |
commit | 6d101ba6be2a26a3e1f513b5e293f0fd2b79ec5c (patch) | |
tree | 0666f64d4c38aec9687ccbc2bb9fd4c70c32e7d0 /tools/perf | |
parent | Merge branch 'x86-platform-for-linus' of git://git.kernel.org/pub/scm/linux/k... (diff) | |
download | linux-6d101ba6be2a26a3e1f513b5e293f0fd2b79ec5c.tar.xz linux-6d101ba6be2a26a3e1f513b5e293f0fd2b79ec5c.zip |
sched/fair: Fix warning on non-SMP build
Caused by making the variable static:
kernel/sched/fair.c:119:21: warning: 'capacity_margin' defined but not used [-Wunused-variable]
Seems easiest to just move it up under the existing ifdef CONFIG_SMP
that's a few lines above.
Fixes: ed8885a14433a ('sched/fair: Make some variables static')
Signed-off-by: Olof Johansson <olof@lixom.net>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'tools/perf')
0 files changed, 0 insertions, 0 deletions