add descriptive comment for TIF_MEMDIE task flag declaration.
[firefly-linux-kernel-4.4.55.git] / arch / avr32 / include / asm / thread_info.h
index fd0c5d7e933701c31166deb5f4f7269c2adb8206..7a9c03dcb0b6d631b137604f54a94e7bfbbdd0b3 100644 (file)
@@ -81,7 +81,7 @@ static inline struct thread_info *current_thread_info(void)
                                           TIF_NEED_RESCHED */
 #define TIF_BREAKPOINT         4       /* enter monitor mode on return */
 #define TIF_SINGLE_STEP                5       /* single step in progress */
-#define TIF_MEMDIE             6
+#define TIF_MEMDIE             6       /* is terminating due to OOM killer */
 #define TIF_RESTORE_SIGMASK    7       /* restore signal mask in do_signal */
 #define TIF_CPU_GOING_TO_SLEEP 8       /* CPU is entering sleep 0 mode */
 #define TIF_NOTIFY_RESUME      9       /* callback before returning to user */