KVM: Fix *nopage() in kvm_main.c
commitcd0d91379776cb6850c7b11c0a8843ca75967558
authorNguyen Anh Quynh <aquynh@gmail.com>
Wed, 11 Jul 2007 11:30:54 +0000 (11 14:30 +0300)
committerAvi Kivity <avi@qumranet.com>
Sat, 13 Oct 2007 08:18:17 +0000 (13 10:18 +0200)
tree6d1ed1d34a2642766bc870ba4563e85d4aebdd91
parent81fe96bde7db24c02adf245604f073ea9e8d941a
KVM: Fix *nopage() in kvm_main.c

*nopage() in kvm_main.c should only store the type of mmap() fault if
the pointers are not NULL. This patch fixes the problem.

Signed-off-by: Nguyen Anh Quynh <aquynh@gmail.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
drivers/kvm/kvm_main.c