Re: [PATCH] powerpc64/ftrace: Include ftrace.h needed for enable/disable calls

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Luke Dashjr <luke@xxxxxxxxxx> writes:

> 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")
> Signed-off-by: Luke Dashjr <luke-jr+git@xxxxxxxxxxx>
> Cc: stable@xxxxxxxxxxxxxxx
> ---
>  arch/powerpc/kvm/book3s_hv.c | 1 +
>  1 file changed, 1 insertion(+)

I've picked this up.

If you can Cc linuxppc-dev on arch/powerpc patches that would be ideal,
that way my patchwork[1] picks it up.

I realise this is a KVM patch so you've Cc'ed kvm-ppc but it's also a
powerpc patch :)

If you use scripts/get_maintainer.pl it should give you the right
answer.

cheers


[1]: https://patchwork.ozlabs.org/project/linuxppc-dev

> diff --git a/arch/powerpc/kvm/book3s_hv.c b/arch/powerpc/kvm/book3s_hv.c
> index ee4a8854985e..15c2c64291f4 100644
> --- a/arch/powerpc/kvm/book3s_hv.c
> +++ b/arch/powerpc/kvm/book3s_hv.c
> @@ -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>
> -- 
> 2.16.4



[Index of Archives]     [KVM Development]     [KVM ARM]     [KVM ia64]     [Linux Virtualization]     [Linux USB Devel]     [Linux Video]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux