From: Anton Blanchard Date: Wed, 28 Dec 2005 23:46:29 +0000 (+1100) Subject: [PATCH] ppc64: htab_initialize_secondary cannot be marked __init X-Git-Tag: v2.6.16.28-rc1~2299^2~5 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=e597cb32e95a6c38e9ead981b169ef2974ccfec0;p=karo-tx-linux.git [PATCH] ppc64: htab_initialize_secondary cannot be marked __init Sonny has noticed hotplug CPU on ppc64 is broken in 2.6.15-*. One of the problems is that htab_initialize_secondary is called when a cpu is being brought up, but it is marked __init. Signed-off-by: Anton Blanchard Acked-by: Paul Mackerras Signed-off-by: Linus Torvalds --- diff --git a/arch/powerpc/mm/hash_utils_64.c b/arch/powerpc/mm/hash_utils_64.c index a33583f3b0e7..a606504678bd 100644 --- a/arch/powerpc/mm/hash_utils_64.c +++ b/arch/powerpc/mm/hash_utils_64.c @@ -514,7 +514,7 @@ void __init htab_initialize(void) #undef KB #undef MB -void __init htab_initialize_secondary(void) +void htab_initialize_secondary(void) { if (!platform_is_lpar()) mtspr(SPRN_SDR1, _SDR1);