[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:
Alex Williamson committed 2007-10-01 09:59:24 -06:00
1 parent f529f8d46b
commit ff051c2fbc
1 file changed
+1 -1
+1 -1
View File
@@ -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)
{
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.