]> err.no Git - linux-2.6/blobdiff - include/linux/sched.h
[PATCH] fix TASK_STOPPED vs TASK_NONINTERACTIVE interaction
[linux-2.6] / include / linux / sched.h
index 49e617fa0f662a10a04980ed0f2b3997a1adc0d0..afe6c61f13e58c4b5c07a59db7ce216fa749c140 100644 (file)
@@ -110,11 +110,11 @@ extern unsigned long nr_iowait(void);
 #define TASK_RUNNING           0
 #define TASK_INTERRUPTIBLE     1
 #define TASK_UNINTERRUPTIBLE   2
-#define TASK_STOPPED           4
-#define TASK_TRACED            8
-#define EXIT_ZOMBIE            16
-#define EXIT_DEAD              32
-#define TASK_NONINTERACTIVE    64
+#define TASK_NONINTERACTIVE    4
+#define TASK_STOPPED           8
+#define TASK_TRACED            16
+#define EXIT_ZOMBIE            32
+#define EXIT_DEAD              64
 
 #define __set_task_state(tsk, state_value)             \
        do { (tsk)->state = (state_value); } while (0)