]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
powerpc64/ftrace: Include ftrace.h needed for enable/disable calls
authorLuke Dashjr <luke@dashjr.org>
Thu, 16 Aug 2018 21:36:26 +0000 (21:36 +0000)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 21 Aug 2018 05:58:34 +0000 (15:58 +1000)
this_cpu_disable_ftrace and this_cpu_enable_ftrace are inlines in
ftrace.h Without it included, the build fails.

Fixes: a4bc64d305af ("powerpc64/ftrace: Disable ftrace during kvm entry/exit")
Cc: stable@vger.kernel.org # v4.18+
Signed-off-by: Luke Dashjr <luke-jr+git@utopios.org>
Acked-by: Naveen N. Rao <naveen.n.rao at linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/kvm/book3s_hv.c

index 06cffc6446fe188123d746264d19e7d48d9091a8..db677a1132fa36cedb227fa8e8420d036e7141f9 100644 (file)
@@ -46,6 +46,7 @@
 #include <linux/compiler.h>
 #include <linux/of.h>
 
+#include <asm/ftrace.h>
 #include <asm/reg.h>
 #include <asm/ppc-opcode.h>
 #include <asm/asm-prototypes.h>