diff options
| author | Ilie Halip <[email protected]> | 2019-09-20 18:39:51 +0300 |
|---|---|---|
| committer | Michael Ellerman <[email protected]> | 2020-03-17 23:40:36 +1100 |
| commit | 9451c79bc39e610882bdd12370f01af5004a3c4f (patch) | |
| tree | 4846790ac3209aa89d2106ad6f694ba50b48546f /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | aa4113340ae6c2811e046f08c2bc21011d20a072 (diff) | |
powerpc/pmac/smp: Avoid unused-variable warnings
When building with ppc64_defconfig, the compiler reports
that these 2 variables are not used:
warning: unused variable 'core99_l2_cache' [-Wunused-variable]
warning: unused variable 'core99_l3_cache' [-Wunused-variable]
They are only used when CONFIG_PPC64 is not defined. Move
them into a section which does the same macro check.
Reported-by: Nathan Chancellor <[email protected]>
Signed-off-by: Ilie Halip <[email protected]>
[mpe: Move them into core99_init_caches() which is their only user]
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions