[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] [IA64] xenitp: correctly size vcpu_ctx array
# HG changeset patch # User Alex Williamson <alex.williamson@xxxxxx> # Date 1191254364 21600 # Node ID d3665dc74a414aea75132dfc585965310b8be05a # Parent 2d1b8ae1548d139f9f8532c90a1e61fc199a3394 [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@xxxxxxxxxxxxx> --- tools/debugger/xenitp/xenitp.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) diff -r 2d1b8ae1548d -r d3665dc74a41 tools/debugger/xenitp/xenitp.c --- a/tools/debugger/xenitp/xenitp.c Mon Oct 01 09:57:50 2007 -0600 +++ b/tools/debugger/xenitp/xenitp.c Mon Oct 01 09:59:24 2007 -0600 @@ -931,7 +931,7 @@ unsigned char *parse_arg (unsigned char return res; } -vcpu_guest_context_t vcpu_ctx[1]; +vcpu_guest_context_t vcpu_ctx[MAX_VIRT_CPUS]; int vcpu_setcontext (int vcpu) { _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |