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

[Xen-changelog] [xen-unstable] x86: On CPU offline, freed stack should be *un*guarded.



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1275471535 -3600
# Node ID ab4281135770d136cfc2deb1ff0bf8a6b898abc6
# Parent  267ecb2ee5bfab4f25b3b5b5cb99f5b1a72fa87c
x86: On CPU offline, freed stack should be *un*guarded.

Fix stupid typo.

Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx>
---
 xen/arch/x86/smpboot.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r 267ecb2ee5bf -r ab4281135770 xen/arch/x86/smpboot.c
--- a/xen/arch/x86/smpboot.c    Tue Jun 01 14:25:59 2010 +0100
+++ b/xen/arch/x86/smpboot.c    Wed Jun 02 10:38:55 2010 +0100
@@ -646,7 +646,7 @@ static void cpu_smpboot_free(unsigned in
 
     if ( stack_base[cpu] != NULL )
     {
-        memguard_guard_stack(stack_base[cpu]);
+        memguard_unguard_stack(stack_base[cpu]);
         free_xenheap_pages(stack_base[cpu], STACK_ORDER);
         stack_base[cpu] = NULL;
     }

_______________________________________________
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®.