mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 18:50:05 +01:00
Initialize the entire hypercall page when running a ring0 kernel
Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
This commit is contained in:
1 parent
9f640de2b0
commit
94850192ba
1 file changed
+1
-1
@@ -460,7 +460,7 @@ static void hypercall_page_initialise_ring0_kernel(void *hypercall_page)
|
||||
|
||||
/* 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));
|
||||
|
||||
|
||||