diff options
| author | Toshinobu Sugioka <[email protected]> | 2009-04-21 07:34:53 +0900 |
|---|---|---|
| committer | Paul Mundt <[email protected]> | 2009-04-21 07:34:53 +0900 |
| commit | 8c31813f31cd4403b46802866949a95a6e8fa584 (patch) | |
| tree | 83f774f5b0f979d53b909638efe56d8dc2e05ea0 /tools/perf/scripts/python | |
| parent | aefe6475720bd5eb8aacbc881488f3aa65618562 (diff) | |
sh: Fix mmap2 for handling differing PAGE_SIZEs.
mmap2 uses a fixed page shift of 12, regardless of the PAGE_SIZE setting.
Fix up the mmap2 code to add some sanity checks on the mapping, and to
update pgoff accordingly.
Error handling bits based on 4280e3126f641898f0ed1a931645373d3489e2a6
("frv: fix mmap2 error handling").
Signed-off-by: Toshinobu Sugioka <[email protected]>
Signed-off-by: Paul Mundt <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions