diff options
author | 2014-07-27 17:57:04 +0100 | |
---|---|---|
committer | 2014-08-17 16:56:11 +0000 | |
commit | ddc86821ee2ce3367fdb116e7334751087f78c56 (patch) | |
tree | aff7ac95d6aa07be743503d309b4e401071fd6b6 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Linux 3.17-rc1 (diff) | |
download | linux-dev-ddc86821ee2ce3367fdb116e7334751087f78c56.tar.xz linux-dev-ddc86821ee2ce3367fdb116e7334751087f78c56.zip |
irqchip: gic-v3: Only define gic_peek_irq() when building SMP
If building with CONFIG_SMP disbled (for example, with allnoconfig) then
GCC complains that the static function gic_peek_irq() is defined but not
used since the only reference is in the SMP initialisation code. Fix this
by moving the function definition inside the ifdef.
Signed-off-by: Mark Brown <broonie@linaro.org>
Acked-by: Marc Zyngier <marc.zyngier@arm.com>
Link: https://lkml.kernel.org/r/1406480224-24628-1-git-send-email-broonie@kernel.org
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions