aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorRam Pai <[email protected]>2017-11-06 00:50:45 -0800
committerMichael Ellerman <[email protected]>2017-12-20 18:57:19 +1100
commit59aa31fd6f964ac63ac9cb90c8468f60e9bb0756 (patch)
treef0673ee345d3d76db127fe1ec5025b218ea90a3d /tools/perf/scripts/python/bin
parentf36dbfe1a504b85c7b3bf89fdd99991afbaa0f74 (diff)
powerpc: introduce pte_set_hidx() helper
Introduce pte_set_hidx().It sets the (H_PAGE_F_SECOND|H_PAGE_F_GIX) bits at the appropriate location in the PTE of 4K PTE. For 64K PTE, it sets the bits in the second part of the PTE. Though the implementation for the former just needs the slot parameter, it does take some additional parameters to keep the prototype consistent. This function will be handy as we work towards re-arranging the bits in the subsequent patches. Acked-by: Balbir Singh <[email protected]> Reviewed-by: Aneesh Kumar K.V <[email protected]> Signed-off-by: Ram Pai <[email protected]> Signed-off-by: Michael Ellerman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions