aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorKyle McMartin <[email protected]>2008-12-22 12:29:02 -0500
committerKyle McMartin <[email protected]>2009-01-05 18:15:25 +0000
commita60715f58907d4e1db7be6c31fa050c993e119b5 (patch)
tree3f625f4fd943d9f11e44abd55ff78b2d59b01d2d /tools/perf/scripts/python/syscall-counts.py
parent0ca5506da6795ebc700fd41cef2a7785613fbe28 (diff)
parisc: factor out sid to protid conversion
Create a new __space_to_prot inline to convert the space id (mmu context) to a protection id. Sadly it doesn't look like the #ifdef can be eliminated since relying on the compiler to not truncate a bit on return (ctx >> SPACEID_SHIFT) << 1; seems a little dodgy. Signed-off-by: Kyle McMartin <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions