Эх сурвалжийг харах

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 <mikey@neuling.org>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Michael Neuling 16 жил өмнө
parent
commit
d87bf76679

+ 1 - 0
arch/powerpc/oprofile/cell/spu_profiler.c

@@ -16,6 +16,7 @@
 #include <linux/smp.h>
 #include <linux/smp.h>
 #include <linux/slab.h>
 #include <linux/slab.h>
 #include <asm/cell-pmu.h>
 #include <asm/cell-pmu.h>
+#include <asm/time.h>
 #include "pr_util.h"
 #include "pr_util.h"
 
 
 #define SCALE_SHIFT 14
 #define SCALE_SHIFT 14