[Cbe-oss-dev] [patch 1/6] spufs: add missing headers

Geoff Levand geoffrey.levand at am.sony.com
Thu Apr 27 07:52:30 EST 2006


Add spu.h header dependencies.  Fixes these errors:

spu.h:168: warning: 'struct file' declared inside parameter list
spu.h:186: error: syntax error before 'cell_spumem_init'

Signed-off-by: Geoff Levand <geoffrey.levand at am.sony.com>

---

Index: cell--alp--1/include/asm-powerpc/spu.h
===================================================================
--- cell--alp--1.orig/include/asm-powerpc/spu.h	2006-04-25 18:22:48.000000000 -0700
+++ cell--alp--1/include/asm-powerpc/spu.h	2006-04-26 08:29:25.000000000 -0700
@@ -27,6 +27,8 @@
 #include <linux/config.h>
 #include <linux/workqueue.h>
 #include <linux/sysdev.h>
+#include <linux/file.h>
+#include <linux/init.h>

 #define LS_SIZE (256 * 1024)
 #define LS_ADDR_MASK (LS_SIZE - 1)




More information about the cbe-oss-dev mailing list