mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 18:50:05 +01:00
x86: On CPU offline, freed stack should be *un*guarded.
Fix stupid typo. Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
This commit is contained in:
1 parent
378fd88665
commit
cb6536f1df
1 file changed
+1
-1
@@ -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;
|
||||
}
|
||||
|
||||