* [merged] remove-redundant-check-for-config_mmu.patch removed from -mm tree
@ 2010-04-28 15:03 akpm
0 siblings, 0 replies; only message in thread
From: akpm @ 2010-04-28 15:03 UTC (permalink / raw)
To: siccegge, dhowells, siccegge, mm-commits
The patch titled
fs/binfmt_elf_fdpic.c: remove redundant check for CONFIG_MMU
has been removed from the -mm tree. Its filename was
remove-redundant-check-for-config_mmu.patch
This patch was dropped because it was merged into mainline or a subsystem tree
The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/
------------------------------------------------------
Subject: fs/binfmt_elf_fdpic.c: remove redundant check for CONFIG_MMU
From: Christoph Egger <siccegge@cs.fau.de>
The checks for CONFIG_MMU at this location are duplicated as all the code
is located inside a #ifndef CONFIG_MMU block. So the first conditional
block will always be included while the second never will.
Signed-off-by: Christoph Egger <siccegge@stud.informatik.uni-erlangen.de>
Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
fs/binfmt_elf_fdpic.c | 7 -------
1 file changed, 7 deletions(-)
diff -puN fs/binfmt_elf_fdpic.c~remove-redundant-check-for-config_mmu fs/binfmt_elf_fdpic.c
--- a/fs/binfmt_elf_fdpic.c~remove-redundant-check-for-config_mmu
+++ a/fs/binfmt_elf_fdpic.c
@@ -1005,15 +1005,8 @@ static int elf_fdpic_map_file_constdisp_
}
} else if (!mm->start_data) {
mm->start_data = seg->addr;
-#ifndef CONFIG_MMU
mm->end_data = seg->addr + phdr->p_memsz;
-#endif
}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2010-04-28 18:05 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-28 15:03 [merged] remove-redundant-check-for-config_mmu.patch removed from -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