Subject: + include-linux-genalloch-spinlock_t-needs-spinlock_typesh.patch added to -mm tree To: shawn.guo@xxxxxxxxxx From: akpm@xxxxxxxxxxxxxxxxxxxx Date: Fri, 10 Jan 2014 15:04:06 -0800 The patch titled Subject: include/linux/genalloc.h: spinlock_t needs spinlock_types.h has been added to the -mm tree. Its filename is include-linux-genalloch-spinlock_t-needs-spinlock_typesh.patch This patch should soon appear at http://ozlabs.org/~akpm/mmots/broken-out/include-linux-genalloch-spinlock_t-needs-spinlock_typesh.patch and later at http://ozlabs.org/~akpm/mmotm/broken-out/include-linux-genalloch-spinlock_t-needs-spinlock_typesh.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/SubmitChecklist when testing your code *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: Shawn Guo <shawn.guo@xxxxxxxxxx> Subject: include/linux/genalloc.h: spinlock_t needs spinlock_types.h Compiling a C file which includes genalloc.h but without spinlock_types.h being included before, we will see the compile error below. include/linux/genalloc.h:54:2: error: unknown type name `spinlock_t' Include spinlock_types.h from genalloc.h to fix the problem. Signed-off-by: Shawn Guo <shawn.guo@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- include/linux/genalloc.h | 2 ++ 1 file changed, 2 insertions(+) diff -puN include/linux/genalloc.h~include-linux-genalloch-spinlock_t-needs-spinlock_typesh include/linux/genalloc.h --- a/include/linux/genalloc.h~include-linux-genalloch-spinlock_t-needs-spinlock_typesh +++ a/include/linux/genalloc.h @@ -30,6 +30,8 @@ #ifndef __GENALLOC_H__ #define __GENALLOC_H__ +#include <linux/spinlock_types.h> + struct device; struct device_node; _ Patches currently in -mm which might be from shawn.guo@xxxxxxxxxx are include-linux-genalloch-spinlock_t-needs-spinlock_typesh.patch linux-next.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html