[PATCH] ps3: ps3-lpm.c compile fix

Alexey Dobriyan adobriyan at gmail.com
Mon Nov 3 04:26:51 EST 2008


drivers/ps3/ps3-lpm.c:838: error: implicit declaration of function 'get_hard_smp_processor_id'

Signed-off-by: Alexey Dobriyan <adobriyan at gmail.com>
---

 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/smp.h>
 #include <asm/time.h>
 #include <asm/ps3.h>
 #include <asm/lv1call.h>



More information about the Linuxppc-dev mailing list