]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc64/ftrace: Disable ftrace during hotplug
authorNaveen N. Rao <naveen.n.rao@linux.vnet.ibm.com>
Thu, 19 Apr 2018 07:04:04 +0000 (12:34 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 3 May 2018 12:32:27 +0000 (22:32 +1000)
commit424ef0160f439feb2a1a6e796a281e2bfa7b6997
tree2be23c1609e1e94cc9e873ff055fbcafade693f2
parentd103978636c27fce216bbc8bb289981047b71bd4
powerpc64/ftrace: Disable ftrace during hotplug

Disable ftrace when a cpu is about to go offline. When the cpu is woken
up, ftrace will get enabled in start_secondary().

Signed-off-by: Naveen N. Rao <naveen.n.rao@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/kernel/smp.c