The patch titled linux/preempt.h needs linux/thread_info.h has been added to the -mm tree. Its filename is linux-preempth-needs-linux-thread_infoh.patch See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this ------------------------------------------------------ Subject: linux/preempt.h needs linux/thread_info.h From: Horms <horms@xxxxxxxxxxxx> It seems that linux/preempt.h needs to include linux/thread_info.h in order to access current_thread_info(), which is used in preempt_count(). I guess that all callers of preempt_count() must include both linux/thread_info.h and linux/preempt.h directly or indirectly, as this does not cause a compile error. I noticed the problem while working on an unrelated issue in xen-land. Signed-off-by: Simon Horman <horms@xxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxx> --- include/linux/preempt.h | 1 + 1 file changed, 1 insertion(+) diff -puN include/linux/preempt.h~linux-preempth-needs-linux-thread_infoh include/linux/preempt.h --- a/include/linux/preempt.h~linux-preempth-needs-linux-thread_infoh +++ a/include/linux/preempt.h @@ -8,6 +8,7 @@ #include <linux/thread_info.h> #include <linux/linkage.h> +#include <linux/thread_info.h> #ifdef CONFIG_DEBUG_PREEMPT extern void fastcall add_preempt_count(int val); _ Patches currently in -mm which might be from horms@xxxxxxxxxxxx are linux-preempth-needs-linux-thread_infoh.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