diff options
author | Yu Kuai <[email protected]> | 2021-04-07 20:59:03 +0800 |
---|---|---|
committer | Michael Ellerman <[email protected]> | 2021-04-14 23:04:14 +1000 |
commit | 078277acbd7c3fdb25c01a3cd5b4a1a875a1ab2f (patch) | |
tree | 146e1f66b5b37ed58a37e0faae9d22fc171a1e88 /tools/perf/scripts/python/netdev-times.py | |
parent | 95d143923379ffb0e706b064305681d44c05ec4b (diff) |
powerpc/smp: Make some symbols static
The sparse tool complains as follows:
arch/powerpc/kernel/smp.c:86:1: warning:
symbol '__pcpu_scope_cpu_coregroup_map' was not declared. Should it be static?
arch/powerpc/kernel/smp.c:125:1: warning:
symbol '__pcpu_scope_thread_group_l1_cache_map' was not declared. Should it be static?
arch/powerpc/kernel/smp.c:132:1: warning:
symbol '__pcpu_scope_thread_group_l2_cache_map' was not declared. Should it be static?
These symbols are not used outside of smp.c, so this
commit marks them static.
Reported-by: Hulk Robot <[email protected]>
Signed-off-by: Yu Kuai <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions