]> xenbits.xensource.com Git - xen.git/commitdiff
x86: On CPU offline, freed stack should be *un*guarded.
authorKeir Fraser <keir.fraser@citrix.com>
Wed, 2 Jun 2010 09:38:55 +0000 (10:38 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Wed, 2 Jun 2010 09:38:55 +0000 (10:38 +0100)
Fix stupid typo.

Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
xen/arch/x86/smpboot.c

index 9581d67e43b3bd37b93cfbbab1656f90574e0940..aec3b100a0080ba44b55c35077fa314110ed4b41 100644 (file)
@@ -646,7 +646,7 @@ static void cpu_smpboot_free(unsigned int cpu)
 
     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;
     }