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:
Keir Fraser committed 2010-06-02 10:38:55 +01:00
1 parent 378fd88665
commit cb6536f1df
1 file changed
+1 -1
+1 -1
View 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;
}
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.