diff options
author | Artem Bityutskiy <[email protected]> | 2011-12-28 17:08:03 +0200 |
---|---|---|
committer | David Woodhouse <[email protected]> | 2012-01-09 18:26:12 +0000 |
commit | 4991e7251ed951a5f33faf25912e9db416306309 (patch) | |
tree | 77454b88465118f8cf1127049cbf96c47da2c415 /tools/perf/scripts/python/syscall-counts.py | |
parent | cd621274b0ec747db8dedbf857624c067f481976 (diff) |
romfs: do not use mtd->get_unmapped_area directly
Remove direct usage of mtd->get_unmapped_area. Instead, just call
'mtd_get_unmapped_area()' which will return -EOPNOTSUPP if the function
is not implemented, and then test for this code.
We also translate -EOPNOTSUPP to -ENOSYS because this return code is
probably part of the kernel ABI which we do not want to break.
Cc: [email protected]
Signed-off-by: Artem Bityutskiy <[email protected]>
Signed-off-by: David Woodhouse <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions