diff options
author | Sasha Levin <levinsasha928@gmail.com> | 2011-12-04 19:36:29 +0200 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2011-12-27 11:22:21 +0200 |
commit | ff5c2c0316ff0e3e2dba3ca14167d994453df093 (patch) | |
tree | a2cba54bb5486f508315842ac9ee026cd5d87981 /tools/perf | |
parent | cdfca7b346e6dbab1ba33260c28ccb8333485a5b (diff) | |
download | linux-ff5c2c0316ff0e3e2dba3ca14167d994453df093.tar.bz2 |
KVM: Use memdup_user instead of kmalloc/copy_from_user
Switch to using memdup_user when possible. This makes code more
smaller and compact, and prevents errors.
Signed-off-by: Sasha Levin <levinsasha928@gmail.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'tools/perf')
0 files changed, 0 insertions, 0 deletions