]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc: Fix crash on CPU hotplug
authorMichael Ellerman <michael@ellerman.id.au>
Thu, 16 Apr 2009 04:47:32 +0000 (04:47 +0000)
committerPaul Mackerras <paulus@samba.org>
Wed, 22 Apr 2009 04:56:34 +0000 (14:56 +1000)
commit90f478f83a721617ca44508121dc5664a825c715
tree0f80fc2e3699845379437780c793850bc59e37aa
parent5ed6f83b434be72780400b7bd7be3c01d6359f13
powerpc: Fix crash on CPU hotplug

early_init_mmu_secondary() is called at CPU hotplug time, so it
must be marked as __cpuinit, not __init.

Caused by 6b8a0369 ("powerpc/mm: Introduce early_init_mmu() on 64-bit").

Tested-by: Sachin Sant <sachinp@in.ibm.com>
Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/mm/hash_utils_64.c