summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/oprofile
diff options
context:
space:
mode:
authorMichael Neuling2009-02-08 14:04:14 +0100
committerBenjamin Herrenschmidt2009-02-10 04:39:08 +0100
commitd87bf76679bd37593ae4a3133f5da9395a4963ac (patch)
tree0283dc19fdd765bcc2239533a7cbb187a9ac93d4 /arch/powerpc/oprofile
parentpowerpc/ftrace: Fix math to calculate offset in TOC (diff)
downloadkernel-qcow2-linux-d87bf76679bd37593ae4a3133f5da9395a4963ac.tar.gz
kernel-qcow2-linux-d87bf76679bd37593ae4a3133f5da9395a4963ac.tar.xz
kernel-qcow2-linux-d87bf76679bd37593ae4a3133f5da9395a4963ac.zip
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>
Diffstat (limited to 'arch/powerpc/oprofile')
-rw-r--r--arch/powerpc/oprofile/cell/spu_profiler.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/oprofile/cell/spu_profiler.c b/arch/powerpc/oprofile/cell/spu_profiler.c
index 9305ddaac512..b129d007e7fe 100644
--- a/arch/powerpc/oprofile/cell/spu_profiler.c
+++ b/arch/powerpc/oprofile/cell/spu_profiler.c
@@ -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