diff options
| author | Christophe Leroy <[email protected]> | 2019-04-26 05:59:51 +0000 |
|---|---|---|
| committer | Michael Ellerman <[email protected]> | 2019-05-03 01:20:24 +1000 |
| commit | fab9a1165bcda99682e3319d1c83980fd4e72365 (patch) | |
| tree | 906e441419646aed1c3ee7384d39c01781a6a83d /tools/perf/scripts/python/stat-cpi.py | |
| parent | 4df4b27585227c8ba66fdf0dd7531d1e23a37194 (diff) | |
powerpc/mm: flatten function __find_linux_pte() step 1
__find_linux_pte() is full of if/else which is hard to
follow allthough the handling is pretty simple.
This patch flattens the function by getting rid of as much if/else
as possible. In order to ease the review, this is done in three steps.
Signed-off-by: Christophe Leroy <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stat-cpi.py')
0 files changed, 0 insertions, 0 deletions