[PATCH] powerpc64/ftrace: Include ftrace.h needed for enable/disable calls
Naveen N. Rao
naveen.n.rao at linux.vnet.ibm.com
Sat Aug 18 02:41:10 AEST 2018
Luke Dashjr wrote:
> On Friday 17 August 2018 10:25:40 Naveen N. Rao wrote:
>> Luke Dashjr wrote:
>> > this_cpu_disable_ftrace and this_cpu_enable_ftrace are inlines in
>> > ftrace.h Without it included, the build fails.
>>
>> I'm unable to reproduce this. Can you share your .config and the build
>> environment?
>
> https://luke.dashjr.org/tmp/code/4.18-config.xz
>
> Gentoo GNU/Linux (mostly stable keywords) on a Raptor Talos II POWER9 system.
Thanks. Your config is missing CONFIG_TRACEPOINTS and I hadn't tested
that. The below fix looks good and I've confirmed that the other uses
are fine as well.
- Naveen
More information about the Linuxppc-dev
mailing list