mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 18:50:05 +01:00
[IA64] xenitp: correctly size vcpu_ctx array
vcpu_ctx[] array size should be MAX_VIRT_CPUS instead of 1. Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
This commit is contained in:
1 parent
f529f8d46b
commit
ff051c2fbc
1 file changed
+1
-1
@@ -931,7 +931,7 @@ unsigned char *parse_arg (unsigned char **buf)
|
||||
return res;
|
||||
}
|
||||
|
||||
vcpu_guest_context_t vcpu_ctx[1];
|
||||
vcpu_guest_context_t vcpu_ctx[MAX_VIRT_CPUS];
|
||||
|
||||
int vcpu_setcontext (int vcpu)
|
||||
{
|
||||
|
||||