diff options
| author | Christopher M. Riedl <[email protected]> | 2021-02-26 19:12:53 -0600 |
|---|---|---|
| committer | Michael Ellerman <[email protected]> | 2021-03-29 12:49:46 +1100 |
| commit | 1a130b67c682be9842f188f593c2080786de4204 (patch) | |
| tree | dde37c2a8605a8c74c5bfa2fb822439e8ee29ef3 /tools/perf/scripts/python/netdev-times.py | |
| parent | c6c9645e37483444ec5182373455b2f22e4b1535 (diff) | |
powerpc: Reference parameter in MSR_TM_ACTIVE() macro
Unlike the other MSR_TM_* macros, MSR_TM_ACTIVE does not reference or
use its parameter unless CONFIG_PPC_TRANSACTIONAL_MEM is defined. This
causes an 'unused variable' compile warning unless the variable is also
guarded with CONFIG_PPC_TRANSACTIONAL_MEM.
Reference but do nothing with the argument in the macro to avoid a
potential compile warning.
Signed-off-by: Christopher M. Riedl <[email protected]>
Reviewed-by: Daniel Axtens <[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