powerpc/cell: add missing #include for oprofile
PATCH 1/1 powerpc/cell: add missing #include for oprofile
arch/powerpc/oprofile/cell/spu_profiler.c is missing a asm/time.h include which is required for ppc_proc_freq. This can cause compile failures for some config combinations.
Signed-off-by Michael Neuling <[email protected]>
---
This is against mainline, so should be pushed up soon-ish
arch/powerpc/oprofile/cell/spu_profiler.c | 1 + 1 file changed, 1 insertion(+)
arch/powerpc/oprofile/cell/spu_profiler.c +1 -0
@@ -16,6 +16,7 @@#include <linux/smp.h> #include <linux/slab.h> #include <asm/cell-pmu.h> +#include <asm/time.h> #include "pr_util.h" #define SCALE_SHIFT 14
Quoted 5 lines · Michael Neuling
arch/powerpc/oprofile/cell/spu_profiler.cis missing aasm/time.hinclude which is required forppc_proc_freq. This can cause compile failures for some config combinations.Signed-off-by Michael Neuling <[email protected]>
Acked-by Arnd Bergmann <[email protected]>