]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: Use kzalloc to avoid allocating kvm_regs from kernel stack
authorXiantao Zhang <xiantao.zhang@intel.com>
Mon, 25 Feb 2008 10:52:20 +0000 (18:52 +0800)
committerAvi Kivity <avi@qumranet.com>
Sun, 27 Apr 2008 08:53:26 +0000 (11:53 +0300)
commit55554c6a333c679b2af3c800cbd007f78678f307
tree3178508a16ef6455908d07be2135ae27c19a8c6c
parent17aa30425dc86b541c8b23a3b61bc4b1ca525ee2
KVM: Use kzalloc to avoid allocating kvm_regs from kernel stack

Since the size of kvm_regs is too big to allocate from kernel stack on ia64,
use kzalloc to allocate it.

Signed-off-by: Xiantao Zhang <xiantao.zhang@intel.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
virt/kvm/kvm_main.c