Skip to contentSkip to conversation

spufs: add missing headers

PATCH In review Geoff Levand 1 participant 1 message Apr 28, 2006

lore
Share & tools
lore
#0 lore raw

PATCH 1/4 spufs: add missing headers

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'

---

include/asm-powerpc/spu.h +2 -0
Index: linux-powerpc.git/include/asm-powerpc/spu.h
===================================================================
@@ -27,6 +27,8 @@
 #include <linux/config.h>
 #include <linux/kref.h>
 #include <linux/workqueue.h>
+#include <linux/file.h>
+#include <linux/init.h>
 
 #define LS_SIZE (256 * 1024)
 #define LS_ADDR_MASK (LS_SIZE - 1)