add descriptive comment for TIF_MEMDIE task flag declaration.
[firefly-linux-kernel-4.4.55.git] / arch / xtensa / include / asm / thread_info.h
index 13165641cc5153bb9990a634042262f2c120085a..7be8accb0b0caf7270144d3eaba8e571f5c6b0eb 100644 (file)
@@ -129,7 +129,7 @@ static inline struct thread_info *current_thread_info(void)
 #define TIF_NEED_RESCHED       2       /* rescheduling necessary */
 #define TIF_SINGLESTEP         3       /* restore singlestep on return to user mode */
 #define TIF_IRET               4       /* return with iret */
-#define TIF_MEMDIE             5
+#define TIF_MEMDIE             5       /* is terminating due to OOM killer */
 #define TIF_RESTORE_SIGMASK    6       /* restore signal mask in do_signal() */
 #define TIF_POLLING_NRFLAG     16      /* true if poll_idle() is polling TIF_NEED_RESCHED */
 #define TIF_FREEZE             17      /* is freezing for suspend */