diff options
| author | Mark Rutland <mark.rutland@arm.com> | 2015-12-09 12:44:36 +0000 |
|---|---|---|
| committer | Alex Shi <alex.shi@linaro.org> | 2016-10-20 16:23:46 +0800 |
| commit | 2a83372c6208ae6f562c94166ce221fba9e60534 (patch) | |
| tree | 37ad5d3875d1408c49ada820ad8d9c80779b3ac5 /tools/perf/scripts/python | |
| parent | f73e4f144708989ee1e154c76a63095b816a9749 (diff) | |
arm64: mm: remove pointless PAGE_MASKing
As pgd_offset{,_k} shift the input address by PGDIR_SHIFT, the sub-page
bits will always be shifted out. There is no need to apply PAGE_MASK
before this.
Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Jeremy Linton <jeremy.linton@arm.com>
Cc: Laura Abbott <labbott@fedoraproject.org>
Cc: Will Deacon <will.deacon@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
(cherry picked from commit e2c30ee320eb96304896c7ab84499e5bc5e5fb6e)
Signed-off-by: Alex Shi <alex.shi@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
