OSDN Git Service

MIPS: KVM: Skip memory cleaning in kvm_mips_commpage_init()
authorDeng-Cheng Zhu <dengcheng.zhu@imgtec.com>
Thu, 26 Jun 2014 19:11:39 +0000 (12:11 -0700)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 30 Jun 2014 14:52:03 +0000 (16:52 +0200)
commitdb2fb7f202ba1d1b2c6532b359b7c763bf17fe72
treeb3837c17ab8b2808cc025580a8d98cba3310971f
parentd7d5b05faf1679849c5220627c7263b4041e15ef
MIPS: KVM: Skip memory cleaning in kvm_mips_commpage_init()

The commpage is allocated using kzalloc(), so there's no need of cleaning
the memory of the kvm_mips_commpage struct and its internal mips_coproc.

Reviewed-by: James Hogan <james.hogan@imgtec.com>
Signed-off-by: Deng-Cheng Zhu <dengcheng.zhu@imgtec.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/mips/kvm/commpage.c