- linux-preempth-needs-linux-thread_infoh.patch removed from -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     linux/preempt.h needs linux/thread_info.h
has been removed from the -mm tree.  Its filename was
     linux-preempth-needs-linux-thread_infoh.patch

This patch was dropped because it is obsolete

------------------------------------------------------
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

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux