ia64/xen-unstable

changeset 16009:d3665dc74a41

[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>
author Alex Williamson <alex.williamson@hp.com>
date Mon Oct 01 09:59:24 2007 -0600 (2007-10-01)
parents 2d1b8ae1548d
children f71b7d6ad5d8
files tools/debugger/xenitp/xenitp.c
line diff
     1.1 --- a/tools/debugger/xenitp/xenitp.c	Mon Oct 01 09:57:50 2007 -0600
     1.2 +++ b/tools/debugger/xenitp/xenitp.c	Mon Oct 01 09:59:24 2007 -0600
     1.3 @@ -931,7 +931,7 @@ unsigned char *parse_arg (unsigned char 
     1.4      return res;
     1.5  }
     1.6  
     1.7 -vcpu_guest_context_t vcpu_ctx[1];
     1.8 +vcpu_guest_context_t vcpu_ctx[MAX_VIRT_CPUS];
     1.9  
    1.10  int vcpu_setcontext (int vcpu)
    1.11  {