diff options
| author | Christophe Leroy <[email protected]> | 2018-10-09 13:52:12 +0000 |
|---|---|---|
| committer | Michael Ellerman <[email protected]> | 2018-10-14 18:04:09 +1100 |
| commit | a0da4bc166f21d88400ec91e01b815054561804e (patch) | |
| tree | d51c133ef5b51cf601412bcbf7bde36833d84ee6 /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | 6c5d2d3fd376c6b4b8d8624b53dbdda966ce762b (diff) | |
powerpc/mm: Allow platforms to redefine some helpers
The 40xx defines _PAGE_HWWRITE while others don't.
The 8xx defines _PAGE_RO instead of _PAGE_RW.
The 8xx defines _PAGE_PRIVILEGED instead of _PAGE_USER.
The 8xx defines _PAGE_HUGE and _PAGE_NA while others don't.
Lets those platforms redefine pte_write(), pte_wrprotect() and
pte_mkwrite() and get _PAGE_RO and _PAGE_HWWRITE off the common
helpers.
Lets the 8xx redefine pte_user(), pte_mkprivileged() and pte_mkuser()
and get rid of _PAGE_PRIVILEGED and _PAGE_USER default values.
Lets the 8xx redefine pte_mkhuge() and get rid of
_PAGE_HUGE default value.
Reviewed-by: Aneesh Kumar K.V <[email protected]>
Signed-off-by: Christophe Leroy <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions