add descriptive comment for TIF_MEMDIE task flag declaration.
[firefly-linux-kernel-4.4.55.git] / arch / h8300 / include / asm / thread_info.h
index 70e67e47d0205eef549c4529c3ac627ac9cd2e42..d6f1784bfdeee1dc8a719d726b7a0acbb223792b 100644 (file)
@@ -87,7 +87,7 @@ static inline struct thread_info *current_thread_info(void)
 #define TIF_NEED_RESCHED       2       /* rescheduling necessary */
 #define TIF_POLLING_NRFLAG     3       /* true if poll_idle() is polling
                                           TIF_NEED_RESCHED */
-#define TIF_MEMDIE             4
+#define TIF_MEMDIE             4       /* is terminating due to OOM killer */
 #define TIF_RESTORE_SIGMASK    5       /* restore signal mask in do_signal() */
 #define TIF_NOTIFY_RESUME      6       /* callback before returning to user */
 #define TIF_FREEZE             16      /* is freezing for suspend */