summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Gortmaker <paul.gortmaker@windriver.com>2011-07-22 14:00:05 -0400
committerPaul Gortmaker <paul.gortmaker@windriver.com>2011-10-31 19:30:42 -0400
commite415372acc6e789cc840a9bd27f8bdb3e94e0749 (patch)
tree9cbb7c53b5a8d3b06fcff3153c24a12063534937
parentcab2e05271f11cc3322be5bc50168d9b8a3fc587 (diff)
downloadop-kernel-dev-e415372acc6e789cc840a9bd27f8bdb3e94e0749.zip
op-kernel-dev-e415372acc6e789cc840a9bd27f8bdb3e94e0749.tar.gz
powerpc: fix implicit use of mutex.h by include/asm/spu.h
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>
-rw-r--r--arch/powerpc/include/asm/spu.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/spu.h b/arch/powerpc/include/asm/spu.h
index 0c8b35d..4e360bd 100644
--- a/arch/powerpc/include/asm/spu.h
+++ b/arch/powerpc/include/asm/spu.h
@@ -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)
OpenPOWER on IntegriCloud