powerpc: fix implicit use of mutex.h by include/asm/spu.h
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Fri, 22 Jul 2011 18:00:05 +0000 (14:00 -0400)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Mon, 31 Oct 2011 23:30:42 +0000 (19:30 -0400)
We've been getting the header implicitly via module.h in the past
but when we clean that up, we'll get this failure:

  CC      arch/powerpc/platforms/cell/beat_spu_priv1.o
In file included from arch/powerpc/platforms/cell/beat_spu_priv1.c:22:
arch/powerpc/include/asm/spu.h:190: error: field 'list_mutex' has incomplete type
make[2]: *** [arch/powerpc/platforms/cell/beat_spu_priv1.o] Error 1

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
arch/powerpc/include/asm/spu.h

index 0c8b35d75232363f0fe66c7a9c6df2c6c53dcb0b..4e360bd4a35af803f3eebf9e49646b0033124ee1 100644 (file)
@@ -26,6 +26,7 @@
 
 #include <linux/workqueue.h>
 #include <linux/sysdev.h>
+#include <linux/mutex.h>
 
 #define LS_SIZE (256 * 1024)
 #define LS_ADDR_MASK (LS_SIZE - 1)