[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-3.0-testing] Initialize the entire hypercall page when running a ring0 kernel



# HG changeset patch
# User kaf24@xxxxxxxxxxxxxxxxxxxx
# Node ID 3f599940ba6ee44bf01522b450b7b569dbf112b3
# Parent  dd974a4e20fd71cccc7307950062bdd9b3246f18
Initialize the entire hypercall page when running a ring0 kernel

Signed-off-by: Ian Campbell <ian.campbell@xxxxxxxxxxxxx>
xen-unstable changeset:   10329:bb89ec7765c75321bb7ed0dca20e6c044da4d13c
xen-unstable date:        Mon Jun 12 18:23:42 2006 +0100
---
 xen/arch/x86/x86_32/traps.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r dd974a4e20fd -r 3f599940ba6e xen/arch/x86/x86_32/traps.c
--- a/xen/arch/x86/x86_32/traps.c       Tue Jun 13 11:32:16 2006 +0100
+++ b/xen/arch/x86/x86_32/traps.c       Tue Jun 13 11:33:14 2006 +0100
@@ -341,7 +341,7 @@ static void hypercall_page_initialise_ri
 
     /* Fill in all the transfer points with template machine code. */
 
-    for ( i = 0; i < NR_hypercalls; i++ )
+    for ( i = 0; i < (PAGE_SIZE / 32); i++ )
     {
         p = (char *)(hypercall_page + (i * 32));
 

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.