diff options
| author | Mike Rapoport <[email protected]> | 2020-06-15 09:22:29 +0000 |
|---|---|---|
| committer | Michael Ellerman <[email protected]> | 2020-06-17 13:04:13 +0000 |
| commit | 687993ccf3b05070598b89fad97410b26d7bc9d2 (patch) | |
| tree | bfb4ccf212cb6ad4ff6a6e0ecff7b13942da9b49 /tools/perf/scripts/python/syscall-counts.py | |
| parent | powerpc/64s: Fix KVM interrupt using wrong save area (diff) | |
| download | kernel-687993ccf3b05070598b89fad97410b26d7bc9d2.tar.gz kernel-687993ccf3b05070598b89fad97410b26d7bc9d2.zip | |
powerpc/8xx: use pmd_off() to access a PMD entry in pte_update()
The pte_update() implementation for PPC_8xx unfolds page table from the PGD
level to access a PMD entry. Since 8xx has only 2-level page table this can
be simplified with pmd_off() shortcut.
Replace explicit unfolding with pmd_off() and drop defines of pgd_index()
and pgd_offset() that are no longer needed.
Signed-off-by: Mike Rapoport <[email protected]>
Reviewed-by: Christophe Leroy <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions
