Initialize the entire hypercall page when running a ring0 kernel

Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
This commit is contained in:
Ian.Campbell@xensource.com committed 2006-06-12 18:23:42 +01:00
1 parent 9f640de2b0
commit 94850192ba
1 file changed
+1 -1
+1 -1
View File
@@ -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));
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.