diff options
author | 2011-12-04 19:36:28 +0200 | |
---|---|---|
committer | 2011-12-27 11:22:20 +0200 | |
commit | cdfca7b346e6dbab1ba33260c28ccb8333485a5b (patch) | |
tree | 423d4487ee5604a69943e8daade01fbec1879ef6 /tools/perf/scripts/python | |
parent | KVM: Document KVM_NMI (diff) | |
download | linux-dev-cdfca7b346e6dbab1ba33260c28ccb8333485a5b.tar.xz linux-dev-cdfca7b346e6dbab1ba33260c28ccb8333485a5b.zip |
KVM: Use kmemdup() instead of kmalloc/memcpy
Switch to kmemdup() in two places to shorten the code and avoid possible bugs.
Signed-off-by: Sasha Levin <levinsasha928@gmail.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions