Skip to contentSkip to conversation

FRV: Add TIF_MEMDIE

PATCH New David Howells 1 participant 1 message Feb 4, 2005

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 FRV: Add TIF_MEMDIE

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.

---
warthog>diffstat -p1 frv-tif-memdie-2611rc3.diff

 include/asm-frv/thread_info.h |    1 +
 1 files changed, 1 insertion(+)
include/asm-frv/thread_info.h renamed from warthog/kernels/linux-2.6.11-rc3/include/asm-frv/thread_info.h +1 -0
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
@@ -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)