[PATCH] FRV: Add TIF_MEMDIE

From: David Howells
Date: Fri Feb 04 2005 - 12:39:57 EST



The attached patch adds TIF_MEMDIE for FRV.

Could whoever added it to include/asm-i386/thread_info.h comment this flag
there please? I've given it a comment here, but I'm not sure it's correct.

Signed-Off-By: David Howells <dhowells@xxxxxxxxxx>
---
warthog>diffstat -p1 frv-tif-memdie-2611rc3.diff
include/asm-frv/thread_info.h | 1 +
1 files changed, 1 insertion(+)

diff -uNrp /warthog/kernels/linux-2.6.11-rc3/include/asm-frv/thread_info.h linux-2.6.11-rc3-frv/include/asm-frv/thread_info.h
--- /warthog/kernels/linux-2.6.11-rc3/include/asm-frv/thread_info.h 2005-02-04 11:50:21.000000000 +0000
+++ linux-2.6.11-rc3-frv/include/asm-frv/thread_info.h 2005-02-04 12:29:39.000000000 +0000
@@ -132,6 +132,7 @@ register struct thread_info *__current_t
#define TIF_SINGLESTEP 4 /* restore singlestep on return to user mode */
#define TIF_IRET 5 /* return with iret */
#define TIF_POLLING_NRFLAG 16 /* true if poll_idle() is polling TIF_NEED_RESCHED */
+#define TIF_MEMDIE 17 /* OOM killer killed process */

#define _TIF_SYSCALL_TRACE (1 << TIF_SYSCALL_TRACE)
#define _TIF_NOTIFY_RESUME (1 << TIF_NOTIFY_RESUME)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/