]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/preempt.h
Merge branch 'audit.b29' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/audit...
[linux-2.6-omap-h63xx.git] / include / linux / preempt.h
index dd98c54a23b4b44afd860603f2a3da73bb29ecbc..d0926d63406ca8e76a3d89ddc3f307a43ef6f391 100644 (file)
@@ -6,7 +6,7 @@
  * preempt_count (used for kernel preemption, interrupt count, etc.)
  */
 
-#include <linux/config.h>
+#include <linux/thread_info.h>
 #include <linux/linkage.h>
 
 #ifdef CONFIG_DEBUG_PREEMPT
@@ -47,6 +47,7 @@ do { \
 #define preempt_enable() \
 do { \
        preempt_enable_no_resched(); \
+       barrier(); \
        preempt_check_resched(); \
 } while (0)