[PATCH] atomic: inc_not_zero
[safe/jmp/linux-2.6] / include / asm-v850 / thread_info.h
index e2ef445..e4cfad9 100644 (file)
@@ -30,7 +30,8 @@ struct thread_info {
        struct exec_domain      *exec_domain;   /* execution domain */
        unsigned long           flags;          /* low level flags */
        int                     cpu;            /* cpu we're on */
-       int                     preempt_count;
+       int                     preempt_count;  /* 0 => preemptable,
+                                                  <0 => BUG */
        struct restart_block    restart_block;
 };