diff options
| author | Wei Yongjun <[email protected]> | 2010-03-12 08:45:39 +0800 |
|---|---|---|
| committer | Avi Kivity <[email protected]> | 2010-05-17 12:15:30 +0300 |
| commit | 5c0d0920a270b9f2aa20c1cecb162703da32e766 (patch) | |
| tree | 7494b38a359df05c50fe98d8eed4cd50d8d16866 /tools/perf/scripts/python/bin | |
| parent | ec68798c8fd0f01cdbd3f3e1a970e76a644cf08e (diff) | |
KVM: ia64: fix the error code of ioctl KVM_IA64_VCPU_GET_STACK failure
The ioctl KVM_IA64_VCPU_GET_STACK does not set the error code if
copy_to_user() fail, and 0 will be return, we should use -EFAULT
instead of 0 in this case, so this patch fixed it.
Signed-off-by: Wei Yongjun <[email protected]>
Signed-off-by: Marcelo Tosatti <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions