Skip to content

Commit

Permalink
[PATCH] ppc64: htab_initialize_secondary cannot be marked __init
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Anton Blanchard authored and Linus Torvalds committed Dec 29, 2005
1 parent 576fc09 commit e597cb3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/powerpc/mm/hash_utils_64.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit e597cb3

Please sign in to comment.