summaryrefslogtreecommitdiffstats
path: root/arch/xtensa
diff options
context:
space:
mode:
authorAndreas Dilger <adilger@dilger.ca>2010-05-14 11:13:27 +0200
committerJiri Kosina <jkosina@suse.cz>2010-05-14 11:13:27 +0200
commit0ddc9324b1a842afd77e8e86698b1d1d2ffed022 (patch)
tree9247bd1a897cc9ed665782a1b7f7e5fb28068600 /arch/xtensa
parentEEPROM: max6875: Header file cleanup (diff)
downloadlinux-0ddc9324b1a842afd77e8e86698b1d1d2ffed022.tar.xz
linux-0ddc9324b1a842afd77e8e86698b1d1d2ffed022.zip
add descriptive comment for TIF_MEMDIE task flag declaration.
Signed-off-by: Andreas Dilger <adilger@dilger.ca> Acked-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'arch/xtensa')
-rw-r--r--arch/xtensa/include/asm/thread_info.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/xtensa/include/asm/thread_info.h b/arch/xtensa/include/asm/thread_info.h
index 13165641cc51..7be8accb0b0c 100644
--- a/arch/xtensa/include/asm/thread_info.h
+++ b/arch/xtensa/include/asm/thread_info.h
@@ -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 */