aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorWu Fengguang <[email protected]>2009-12-14 17:58:07 -0800
committerLinus Torvalds <[email protected]>2009-12-15 08:53:11 -0800
commitf222318e9c3a315723e3524fb9d6566b2430db44 (patch)
treec40913c1e5e32eda037b687be2f835e2754b04b8 /tools/perf/scripts/python
parent4ea2f43f28e30050bc99fe3134b6b679f3bf5b22 (diff)
/dev/mem: introduce size_inside_page()
Introduce size_inside_page() to replace duplicate /dev/mem code. Also apply it to /dev/kmem, whose alignment logic was buggy. Signed-off-by: Wu Fengguang <[email protected]> Acked-by: Andi Kleen <[email protected]> Cc: Marcelo Tosatti <[email protected]> Cc: Greg Kroah-Hartman <[email protected]> Cc: Mark Brown <[email protected]> Cc: Johannes Berg <[email protected]> Cc: Avi Kivity <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions