add descriptive comment for TIF_MEMDIE task flag declaration.
[firefly-linux-kernel-4.4.55.git] / arch / cris / include / asm / thread_info.h
index c3aade36c330400cb7dceb69051a422bb16ed34a..91776069ca807b30c3902922b70889d9e5bb5746 100644 (file)
@@ -85,7 +85,7 @@ struct thread_info {
 #define TIF_NEED_RESCHED       3       /* rescheduling necessary */
 #define TIF_RESTORE_SIGMASK    9       /* restore signal mask in do_signal() */
 #define TIF_POLLING_NRFLAG     16      /* true if poll_idle() is polling TIF_NEED_RESCHED */
-#define TIF_MEMDIE             17
+#define TIF_MEMDIE             17      /* is terminating due to OOM killer */
 #define TIF_FREEZE             18      /* is freezing for suspend */
 
 #define _TIF_SYSCALL_TRACE     (1<<TIF_SYSCALL_TRACE)