aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorChristophe Leroy <[email protected]>2021-03-19 11:06:54 +0000
committerMichael Ellerman <[email protected]>2021-04-03 21:22:19 +1100
commitca9e1605cdd9473a0eb4d6da238d2524be12591a (patch)
treeeabe36c04f27f0cc84ac940f130a251ab74bd3d2 /tools/perf/scripts/python/net_dropmonitor.py
parentf918a81e209f24acb45cd935bcfb78d2c024f6a1 (diff)
powerpc/signal32: Remove ifdefery in middle of if/else in sigreturn()
In the same spirit as commit f1cf4f93de2f ("powerpc/signal32: Remove ifdefery in middle of if/else") MSR_TM_ACTIVE() is always defined and returns always 0 when CONFIG_PPC_TRANSACTIONAL_MEM is not selected, so the awful ifdefery in the middle of an if/else can be removed. Make 'msr_hi' a 'long long' to avoid build failure on PPC32 due to the 32 bits left shift. Signed-off-by: Christophe Leroy <[email protected]> Signed-off-by: Michael Ellerman <[email protected]> Link: https://lore.kernel.org/r/a4b48b2f0be1ef13fc8e57452b7f8350da28d521.1616151715.git.christophe.leroy@csgroup.eu
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions