diff options
author | Gavin Shan <gshan@redhat.com> | 2020-09-14 02:47:30 +0300 |
---|---|---|
committer | Will Deacon <will@kernel.org> | 2020-09-14 15:23:41 +0300 |
commit | 2cf660eb81e93f58ae31215af67fee8499901dd9 (patch) | |
tree | 16078e15f29eb6494b0e2e08edeec621e7b3e5ef /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 2a493132146152c21587414d96ba9026e43acc3d (diff) | |
download | linux-2cf660eb81e93f58ae31215af67fee8499901dd9.tar.xz |
arm64/mm: Refactor {pgd, pud, pmd, pte}_ERROR()
The function __{pgd, pud, pmd, pte}_error() are introduced so that
they can be called by {pgd, pud, pmd, pte}_ERROR(). However, some
of the functions could never be called when the corresponding page
table level isn't enabled. For example, __{pud, pmd}_error() are
unused when PUD and PMD are folded to PGD.
This removes __{pgd, pud, pmd, pte}_error() and call pr_err() from
{pgd, pud, pmd, pte}_ERROR() directly, similar to what x86/powerpc
are doing. With this, the code looks a bit simplified either.
Signed-off-by: Gavin Shan <gshan@redhat.com>
Reviewed-by: Anshuman Khandual <anshuman.khandual@arm.com>
Link: https://lore.kernel.org/r/20200913234730.23145-1-gshan@redhat.com
Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions