Commit 536ab54b authored by Linus Torvalds's avatar Linus Torvalds

Since "apply_alternatives()" also runs at module load time it must

not be marked __init.

Noted by Petr Vandrovec
parent a448f0d8
......@@ -802,7 +802,7 @@ static void __init register_memory(unsigned long max_low_pfn)
APs have less capabilities than the boot processor are not handled.
In this case boot with "noreplacement". */
void __init apply_alternatives(void *start, void *end)
void apply_alternatives(void *start, void *end)
{
struct alt_instr *a;
int diff, i, k;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment