aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/netdev-times.py
diff options
context:
space:
mode:
authorIngo Molnar <[email protected]>2023-01-18 11:14:01 +0000
committerIngo Molnar <[email protected]>2023-01-18 11:16:47 +0000
commit188a569658584e93930ab60334c5a1079c0330d8 (patch)
tree6ce09e489b47df3172ee819c9b80bc11feefc34d /tools/perf/scripts/python/netdev-times.py
parentblk-mq: Build default queue map via group_cpus_evenly() (diff)
downloadkernel-188a569658584e93930ab60334c5a1079c0330d8.tar.gz
kernel-188a569658584e93930ab60334c5a1079c0330d8.zip
genirq/affinity: Only build SMP-only helper functions on SMP kernels
allnoconfig grew these new build warnings in lib/group_cpus.c: lib/group_cpus.c:247:12: warning: ‘__group_cpus_evenly’ defined but not used [-Wunused-function] lib/group_cpus.c:75:13: warning: ‘build_node_to_cpumask’ defined but not used [-Wunused-function] lib/group_cpus.c:66:13: warning: ‘free_node_to_cpumask’ defined but not used [-Wunused-function] lib/group_cpus.c:43:23: warning: ‘alloc_node_to_cpumask’ defined but not used [-Wunused-function] Widen the #ifdef CONFIG_SMP block to not expose unused helpers on non-SMP builds. Also annotate the preprocessor branches for better readability. Fixes: f7b3ea8cf72f ("genirq/affinity: Move group_cpus_evenly() into lib/") Cc: Ming Lei <[email protected]> Cc: Thomas Gleixner <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions