The patch titled XTENSA: warn about including <asm/rwsem.h> directly. has been added to the -mm tree. Its filename is xtensa-warn-about-including-asm-rwsemh-directly.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 *** See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/ ------------------------------------------------------ Subject: XTENSA: warn about including <asm/rwsem.h> directly. From: "Robert P. J. Day" <rpjday@xxxxxxxxxxxxxx> For consistency with other architectures, warn about including <asm-xtensa/rwsem.h> directly. Signed-off-by: Robert P. J. Day <rpjday@xxxxxxxxxxxxxx> Cc: Christian Zankel <chris@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- include/asm-xtensa/rwsem.h | 4 ++++ 1 file changed, 4 insertions(+) diff -puN include/asm-xtensa/rwsem.h~xtensa-warn-about-including-asm-rwsemh-directly include/asm-xtensa/rwsem.h --- a/include/asm-xtensa/rwsem.h~xtensa-warn-about-including-asm-rwsemh-directly +++ a/include/asm-xtensa/rwsem.h @@ -13,6 +13,10 @@ #ifndef _XTENSA_RWSEM_H #define _XTENSA_RWSEM_H +#ifndef _LINUX_RWSEM_H +#error "Please don't include <asm/rwsem.h> directly, use <linux/rwsem.h> instead." +#endif + #include <linux/list.h> #include <linux/spinlock.h> #include <asm/atomic.h> _ Patches currently in -mm which might be from rpjday@xxxxxxxxxxxxxx are origin.patch git-xfs.patch xtensa-warn-about-including-asm-rwsemh-directly.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