* [PATCH] powerpc/cell: add missing #include for oprofile
@ 2009-02-08 23:04 Michael Neuling
2009-02-09 22:44 ` Arnd Bergmann
0 siblings, 1 reply; 2+ messages in thread
From: Michael Neuling @ 2009-02-08 23:04 UTC (permalink / raw)
To: Maynard Johnson, Carl Love, Arnd Bergmann; +Cc: linuxppc-dev
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>
---
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-02-09 22:44 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-08 23:04 [PATCH] powerpc/cell: add missing #include for oprofile Michael Neuling
2009-02-09 22:44 ` Arnd Bergmann
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).