WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [xen-unstable] [IA64] xenitp: correctly size vcpu_ctx ar

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] [IA64] xenitp: correctly size vcpu_ctx array
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Thu, 04 Oct 2007 17:41:17 -0700
Delivery-date: Thu, 04 Oct 2007 17:44:18 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# 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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] [IA64] xenitp: correctly size vcpu_ctx array, Xen patchbot-unstable <=