diff options
| author | Colin Cross <ccross@android.com> | 2013-12-13 19:26:16 -0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-12-14 08:57:19 -0800 |
| commit | db866e3ded294aac1059d45d6497cf1bdbebaa04 (patch) | |
| tree | 2172ec856ceaf696e684036f6d521a4a264f328d /tools/perf/scripts/python | |
| parent | a82130f470893c4a5be3e3cfcdc72c427a41b630 (diff) | |
ion: clean up ioctls
Convert the ion ioctls to use _IOW instead of _IOWR where
appropriate, and factor out the copy_from_user and copy_to_user
based on the _IOC_DIR bits. For the existing incorrect ioctls,
add a function to wrap _IOC_DIR to return the corrected value.
Signed-off-by: Colin Cross <ccross@android.com>
Signed-off-by: John Stultz <john.stultz@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
