Skip to content

Commit d6ee76d

Browse files
Luke Dashjrmpe
authored andcommitted
powerpc64/ftrace: Include ftrace.h needed for enable/disable calls
this_cpu_disable_ftrace and this_cpu_enable_ftrace are inlines in ftrace.h Without it included, the build fails. Fixes: a4bc64d ("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>
1 parent db21731 commit d6ee76d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

arch/powerpc/kvm/book3s_hv.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@
4646
#include <linux/compiler.h>
4747
#include <linux/of.h>
4848

49+
#include <asm/ftrace.h>
4950
#include <asm/reg.h>
5051
#include <asm/ppc-opcode.h>
5152
#include <asm/asm-prototypes.h>

0 commit comments

Comments
 (0)