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

From: Michael Neuling <[email-masked]>
Date: Mon, 09 Feb 2009 10:04:14 +1100

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-masked]>
---
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