]> pilppa.com Git - linux-2.6-omap-h63xx.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)
commit3e4bb3ac9e0ada5df5f6729648d403ea9f071d10
tree3178508a16ef6455908d07be2135ae27c19a8c6c
parent2d3ad1f40c841bd3e97d30d423eea53915d085dc
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