diff options
author | 2020-06-27 11:16:52 +0300 | |
---|---|---|
committer | 2020-07-21 18:25:59 -0700 | |
commit | 72a7af33e08083c118b57c93c1456cc9a5045dc6 (patch) | |
tree | 9e0bfce0321f19f0da634824fa0240e3e8a9c15c /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | sparc32: fix a user-triggerable oops in clear_user() (diff) | |
download | wireguard-linux-72a7af33e08083c118b57c93c1456cc9a5045dc6.tar.xz wireguard-linux-72a7af33e08083c118b57c93c1456cc9a5045dc6.zip |
sparc32: use PUD rather than PGD to get PMD in srmmu_inherit_prom_mappings()
This is a misprint in the page table traversal in
srmmu_inherit_prom_mappings`() function which accessed a PMD entry using
PGD rather than PUD.
Since sparc32 has only 3 page table levels, the PGD and PUD are
essentially the same and usage of __nocache_fix() removed the type
checking.
Use PUD for the consistency and to avoid breakage because of upcoming
addition of type checking into __nocache_fix().
Fixes: 7235db268a2777bc38 ("sparc32: use pgtable-nopud instead of 4level-fixup")
Signed-off-by: Mike Rapoport <rppt@linux.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions