[PATCH] ppc64: htab_initialize_secondary cannot be marked __init
authorAnton Blanchard <anton@samba.org>
Wed, 28 Dec 2005 23:46:29 +0000 (10:46 +1100)
committerLinus Torvalds <torvalds@g5.osdl.org>
Thu, 29 Dec 2005 18:26:36 +0000 (10:26 -0800)
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 <anton@samba.org>
Acked-by: Paul Mackerras <paulus@samba.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/powerpc/mm/hash_utils_64.c

index a33583f3b0e7d0e2c7f07b5ccc3bec039bf3f14e..a606504678bd5aa318d3af992c4a117d96e41c66 100644 (file)
@@ -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);