summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorAnton Blanchard <anton@samba.org>2005-12-29 10:46:29 +1100
committerLinus Torvalds <torvalds@g5.osdl.org>2005-12-29 10:26:36 -0800
commite597cb32e95a6c38e9ead981b169ef2974ccfec0 (patch)
treec893e4c0e2550620873e56ae7b8da4e1199ac675 /arch
parent576fc0978b6b3673fce6d4b405f36449e508826c (diff)
downloadlinux-e597cb32e95a6c38e9ead981b169ef2974ccfec0.tar.gz
linux-e597cb32e95a6c38e9ead981b169ef2974ccfec0.tar.bz2
linux-e597cb32e95a6c38e9ead981b169ef2974ccfec0.zip
[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 <anton@samba.org> Acked-by: Paul Mackerras <paulus@samba.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/powerpc/mm/hash_utils_64.c2
1 files changed, 1 insertions, 1 deletions
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);