diff options
| author | Wu Fengguang <[email protected]> | 2009-12-14 17:58:07 -0800 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2009-12-15 08:53:11 -0800 |
| commit | f222318e9c3a315723e3524fb9d6566b2430db44 (patch) | |
| tree | c40913c1e5e32eda037b687be2f835e2754b04b8 /tools/perf/scripts/python | |
| parent | 4ea2f43f28e30050bc99fe3134b6b679f3bf5b22 (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