Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[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>

authored by

Anton Blanchard and committed by
Linus Torvalds
e597cb32 576fc097

+1 -1
+1 -1
arch/powerpc/mm/hash_utils_64.c
··· 514 514 #undef KB 515 515 #undef MB 516 516 517 - void __init htab_initialize_secondary(void) 517 + void htab_initialize_secondary(void) 518 518 { 519 519 if (!platform_is_lpar()) 520 520 mtspr(SPRN_SDR1, _SDR1);