Subject: [patch 2/5] PS3: Add time include to lpm

From: Geoff Levand <[email-masked]>
Date: Wed, 30 Apr 2008 15:25:09 -0700

From: FUJITA Tomonori <[email-masked]>

Add an include <asm/time.h> statement for get_tb().

Signed-off-by: FUJITA Tomonori <[email-masked]>
Signed-off-by: Geoff Levand <[email-masked]>
---
drivers/ps3/ps3-lpm.c:192: error: implicit declaration of function 'get_tb'

I could not recreate this error.  asm/time.h seems to be included
from linux/module.h:

In file included from include2/asm/cputime.h:27,
                 from /home/geoff/projects/cell/linux-2.6/include/linux/sched.h:67,
                 from include2/asm/elf.h:6,
                 from /home/geoff/projects/cell/linux-2.6/include/linux/elf.h:8,
                 from /home/geoff/projects/cell/linux-2.6/include/linux/module.h:15,
                 from /home/geoff/projects/cell/linux-2.6/drivers/ps3/ps3-lpm.c:24:
include2/asm/time.h:134

 drivers/ps3/ps3-lpm.c |    1 +
 1 file changed, 1 insertion(+)

--- a/drivers/ps3/ps3-lpm.c
+++ b/drivers/ps3/ps3-lpm.c
@@ -22,6 +22,7 @@
 #include <linux/module.h>
 #include <linux/interrupt.h>
 #include <linux/uaccess.h>
+#include <asm/time.h>
 #include <asm/ps3.h>
 #include <asm/lv1call.h>
 #include <asm/cell-pmu.h>

--