Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 70954
b: refs/heads/master
c: f68fd5f
h: refs/heads/master
v: v3
  • Loading branch information
Fengguang Wu authored and Thomas Gleixner committed Oct 17, 2007
1 parent 77bd2a2 commit 62112e6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c1217a75ea102d4e69321f210fab60bc47b9a48e
refs/heads/master: f68fd5f480248ca49e20e30a8e2387bc54694580
8 changes: 5 additions & 3 deletions trunk/arch/x86/kernel/alternative.c
Original file line number Diff line number Diff line change
Expand Up @@ -415,9 +415,6 @@ void __init alternative_instructions(void)
alternatives_smp_unlock(__smp_locks, __smp_locks_end,
_text, _etext);
}
free_init_pages("SMP alternatives",
(unsigned long)__smp_locks,
(unsigned long)__smp_locks_end);
} else {
alternatives_smp_module_add(NULL, "core kernel",
__smp_locks, __smp_locks_end,
Expand All @@ -428,6 +425,11 @@ void __init alternative_instructions(void)
apply_paravirt(__parainstructions, __parainstructions_end);
local_irq_restore(flags);

if (smp_alt_once)
free_init_pages("SMP alternatives",
(unsigned long)__smp_locks,
(unsigned long)__smp_locks_end);

restart_nmi();
#ifdef CONFIG_X86_MCE
restart_mce();
Expand Down

0 comments on commit 62112e6

Please sign in to comment.