The patch titled lockdep: don't pull in includes when lockdep disabled has been added to the -mm tree. Its filename is lockdep-dont-pull-in-includes-when-lockdep-disabled.patch See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this ------------------------------------------------------ Subject: lockdep: don't pull in includes when lockdep disabled From: "Michael S. Tsirkin" <mst@xxxxxxxxxxxxxx> Do not pull in various includes through lockdep.h if lockdep is disabled. Signed-off-by: Michael S. Tsirkin <mst@xxxxxxxxxxxxxx> Cc: Ingo Molnar <mingo@xxxxxxx> Cc: Arjan van de Ven <arjan@xxxxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxx> --- include/linux/lockdep.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff -puN include/linux/lockdep.h~lockdep-dont-pull-in-includes-when-lockdep-disabled include/linux/lockdep.h --- a/include/linux/lockdep.h~lockdep-dont-pull-in-includes-when-lockdep-disabled +++ a/include/linux/lockdep.h @@ -8,13 +8,13 @@ #ifndef __LINUX_LOCKDEP_H #define __LINUX_LOCKDEP_H +#ifdef CONFIG_LOCKDEP + #include <linux/linkage.h> #include <linux/list.h> #include <linux/debug_locks.h> #include <linux/stacktrace.h> -#ifdef CONFIG_LOCKDEP - /* * Lock-class usage-state bits: */ _ Patches currently in -mm which might be from mst@xxxxxxxxxxxxxx are origin.patch git-infiniband.patch lockdep-dont-pull-in-includes-when-lockdep-disabled.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