From: Paul Gortmaker Date: Fri, 22 Jul 2011 18:00:05 +0000 (-0400) Subject: powerpc: fix implicit use of mutex.h by include/asm/spu.h X-Git-Tag: firefly_0821_release~3680^2~4166^2~191 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=e415372acc6e789cc840a9bd27f8bdb3e94e0749;p=firefly-linux-kernel-4.4.55.git 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 --- diff --git a/arch/powerpc/include/asm/spu.h b/arch/powerpc/include/asm/spu.h index 0c8b35d75232..4e360bd4a35a 100644 --- a/arch/powerpc/include/asm/spu.h +++ b/arch/powerpc/include/asm/spu.h @@ -26,6 +26,7 @@ #include #include +#include #define LS_SIZE (256 * 1024) #define LS_ADDR_MASK (LS_SIZE - 1)