diff options
author | Arnd Bergmann <[email protected]> | 2018-06-05 13:43:34 +0200 |
---|---|---|
committer | Thomas Gleixner <[email protected]> | 2018-06-06 12:05:19 +0200 |
commit | a84277bf3efcc7bb5b5a5eec62de5c134cb47ee5 (patch) | |
tree | a9df0e82405ae8b89857db601a9aad2da50ae1bc /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | 716a685fdb89942a50c4138141027e38336a895f (diff) |
irqchip/stm32: Fix non-SMP build warning
A CONFIG_SMP=n build emits a harmless compile-time warning:
drivers/irqchip/irq-stm32-exti.c:495:12: error: 'stm32_exti_h_set_affinity' defined but not used [-Werror=unused-function]
The #ifdef is inconsistent here, and it's better to use an IS_ENABLED() check
that lets the compiler silently drop that function.
Fixes: 927abfc4461e ("irqchip/stm32: Add stm32mp1 support with hierarchy domain")
Signed-off-by: Arnd Bergmann <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Reviewed-by: Ludovic Barre <[email protected]>
Cc: Rob Herring <[email protected]>
Cc: Benjamin Gaignard <[email protected]>
Cc: Radoslaw Pietrzyk <[email protected]>
Cc: Jason Cooper <[email protected]>
Cc: Marc Zyngier <[email protected]>
Cc: [email protected]
Cc: Maxime Coquelin <[email protected]>
Cc: Alexandre Torgue <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions