From 536ab54b603243665ed7cdebecb00148052844fd Mon Sep 17 00:00:00 2001 From: Linus Torvalds Date: Wed, 23 Apr 2003 04:21:46 -0700 Subject: [PATCH] Since "apply_alternatives()" also runs at module load time it must not be marked __init. Noted by Petr Vandrovec --- arch/i386/kernel/setup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/i386/kernel/setup.c b/arch/i386/kernel/setup.c index 1d6e753ed7b3c..bfa473fc6661e 100644 --- a/arch/i386/kernel/setup.c +++ b/arch/i386/kernel/setup.c @@ -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; -- 2.53.0