* + arch-um-kernel-ptracec-remove-dead-proc_mm.patch added to -mm tree
@ 2010-07-30 21:06 akpm
0 siblings, 0 replies; only message in thread
From: akpm @ 2010-07-30 21:06 UTC (permalink / raw)
To: mm-commits; +Cc: siccegge, jdike
The patch titled
arch/um/kernel/ptrace.c: remove dead PROC_MM
has been added to the -mm tree. Its filename is
arch-um-kernel-ptracec-remove-dead-proc_mm.patch
Before you just go and hit "reply", please:
a) Consider who else should be cc'ed
b) Prefer to cc a suitable mailing list as well
c) Ideally: find the original patch on the mailing list and do a
reply-to-all to that, adding suitable additional cc's
*** Remember to use Documentation/SubmitChecklist when testing your code ***
See http://userweb.kernel.org/~akpm/stuff/added-to-mm.txt to find
out what to do about this
The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/
------------------------------------------------------
Subject: arch/um/kernel/ptrace.c: remove dead PROC_MM
From: Christoph Egger <siccegge@cs.fau.de>
PROC_MM doesn't exist in Kconfig. Looking around it looks like a
left-over from 2.6.0 or even 2.4 times, last mentioned in a fedora patch
for 2.6.10. I believe it's time to get rid of that last tiny parts here
that are still around.
Signed-off-by: Christoph Egger <siccegge@cs.fau.de>
Cc: Jeff Dike <jdike@addtoit.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
arch/um/kernel/ptrace.c | 21 ---------------------
1 file changed, 21 deletions(-)
diff -puN arch/um/kernel/ptrace.c~arch-um-kernel-ptracec-remove-dead-proc_mm arch/um/kernel/ptrace.c
--- a/arch/um/kernel/ptrace.c~arch-um-kernel-ptracec-remove-dead-proc_mm
+++ a/arch/um/kernel/ptrace.c
@@ -7,9 +7,6 @@
#include "linux/ptrace.h"
#include "linux/sched.h"
#include "asm/uaccess.h"
-#ifdef CONFIG_PROC_MM
-#include "proc_mm.h"
-#endif
#include "skas_ptrace.h"
@@ -158,24 +155,6 @@ long arch_ptrace(struct task_struct *chi
break;
}
#endif
-#ifdef CONFIG_PROC_MM
- case PTRACE_SWITCH_MM: {
- struct mm_struct *old = child->mm;
- struct mm_struct *new = proc_mm_get_mm(data);
-
- if (IS_ERR(new)) {
- ret = PTR_ERR(new);
- break;
- }
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2010-07-30 21:07 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-07-30 21:06 + arch-um-kernel-ptracec-remove-dead-proc_mm.patch added to -mm tree akpm
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).