aboutsummaryrefslogtreecommitdiffstats
path: root/xen/arch/x86/smpboot.c
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2010-06-02 10:38:55 +0100
committerKeir Fraser <keir.fraser@citrix.com>2010-06-02 10:38:55 +0100
commitcb6536f1df98405d983a6b4ea99ef1c3ffe56e25 (patch)
tree2a7def69641050af4b709b62e19659583d575f92 /xen/arch/x86/smpboot.c
parent378fd8866580acc8001e6e8e4476c8a8815b5965 (diff)
downloadxen-cb6536f1df98405d983a6b4ea99ef1c3ffe56e25.tar.gz
xen-cb6536f1df98405d983a6b4ea99ef1c3ffe56e25.tar.bz2
xen-cb6536f1df98405d983a6b4ea99ef1c3ffe56e25.zip
x86: On CPU offline, freed stack should be *un*guarded.
Fix stupid typo. Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
Diffstat (limited to 'xen/arch/x86/smpboot.c')
-rw-r--r--xen/arch/x86/smpboot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xen/arch/x86/smpboot.c b/xen/arch/x86/smpboot.c
index 9581d67e43..aec3b100a0 100644
--- a/xen/arch/x86/smpboot.c
+++ b/xen/arch/x86/smpboot.c
@@ -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;
}