summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorAndrea Arcangeli <andrea@suse.de>2005-02-01 16:33:43 -0800
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-02-01 16:33:43 -0800
commit6e486e8b28f68cf608979e373c74433e34a89da6 (patch)
tree140d63613fc6f0119888d037a6b168a04ae2b424 /include/linux
parent86a4c6d9e2e43796bb362debd3f73c0e3b198efa (diff)
[PATCH] mm: convert memdie to an atomic thread bitflag
This makes memdie a TIF_MEMDIE. memdie will not be modified by the current task, so it cannot be a PF_MEMDIE but it must be a TIF_MEMDIE. Signed-off-by: Andrea Arcangeli <andrea@suse.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/sched.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h
index c34c9671b030..cf7394b25af5 100644
--- a/include/linux/sched.h
+++ b/include/linux/sched.h
@@ -615,11 +615,6 @@ struct task_struct {
struct key *thread_keyring; /* keyring private to this thread */
#endif
/*
- * All archs should support atomic ops with
- * 1 byte granularity.
- */
- unsigned char memdie;
-/*
* Must be changed atomically so it shouldn't be
* be a shareable bitflag.
*/