diff options
author | Arnd Bergmann <arnd@arndb.de> | 2013-01-25 14:14:22 +0000 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2013-01-25 15:23:14 +0100 |
commit | 38dc3348e36d6cbe6ad51d771e4db948cda5b0e3 (patch) | |
tree | 07e6792c56b477ae2e7a49d9f5fa502d884e1247 /kernel/sched/debug.c | |
parent | aa7f67304d1a03180f463258aa6f15a8b434e77d (diff) | |
download | op-kernel-dev-38dc3348e36d6cbe6ad51d771e4db948cda5b0e3.zip op-kernel-dev-38dc3348e36d6cbe6ad51d771e4db948cda5b0e3.tar.gz |
sched: Fix warning in kernel/sched/fair.c
a4c96ae319 "sched: Unthrottle rt runqueues in
__disable_runtime()" turned the unthrottle_offline_cfs_rqs
function into a static symbol, which now triggers a warning
about it being potentially unused:
kernel/sched/fair.c:2055:13: warning: 'unthrottle_offline_cfs_rqs' defined but not used [-Wunused-function]
Marking it __maybe_unused shuts up the gcc warning and lets the
compiler safely drop the function body when it's not being used.
To reproduce, build the ARM bcm2835_defconfig.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Cc: Peter Boonstoppel <pboonstoppel@nvidia.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Paul Turner <pjt@google.com>
Cc: linux-arm-kernel@list.infradead.org
Link: http://lkml.kernel.org/r/1359123276-15833-6-git-send-email-arnd@arndb.de
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'kernel/sched/debug.c')
0 files changed, 0 insertions, 0 deletions