projects/linux·commit e597cb32

[PATCH] ppc64: htab_initialize_secondary cannot be marked __init

e597cb32 · Anton Blanchard <[email protected]> · 2005-12-29 10:46:29 +11:00

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 <[email protected]>
Acked-by: Paul Mackerras <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Commit
e597cb32e95a6c38e9ead981b169ef2974ccfec0
Parents
576fc097

Changes

1 files changed · +1 −1

FileStatusAddDelContent
arch/powerpc/mm/hash_utils_64.cmodified+1−1View file

arch/powerpc/mm/hash_utils_64.c

View file
diff --git a/arch/powerpc/mm/hash_utils_64.c b/arch/powerpc/mm/hash_utils_64.c
index a33583f..a606504 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);