[PATCH] powerpc/cell: add missing #include for oprofile

Michael Neuling mikey at neuling.org
Mon Feb 9 10:04:14 EST 2009


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 at neuling.org>
---
This is against mainline, so should be pushed up soon-ish

 arch/powerpc/oprofile/cell/spu_profiler.c |    1 +
 1 file changed, 1 insertion(+)

Index: linux-2.6-ozlabs/arch/powerpc/oprofile/cell/spu_profiler.c
===================================================================
--- linux-2.6-ozlabs.orig/arch/powerpc/oprofile/cell/spu_profiler.c
+++ linux-2.6-ozlabs/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



More information about the Linuxppc-dev mailing list