Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 190314
b: refs/heads/master
c: 16a5b3c
h: refs/heads/master
v: v3
  • Loading branch information
Christoph Egger authored and Linus Torvalds committed Apr 27, 2010
1 parent 5ca201a commit 9c3b8e7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: bc113f151a73cb2195c2fb40d7d70acf8e2f9208
refs/heads/master: 16a5b3c4143fc7f6cbe0ef9fd4e9a58376f91506
7 changes: 0 additions & 7 deletions trunk/fs/binfmt_elf_fdpic.c
Original file line number Diff line number Diff line change
Expand Up @@ -1005,15 +1005,8 @@ static int elf_fdpic_map_file_constdisp_on_uclinux(
}
} else if (!mm->start_data) {
mm->start_data = seg->addr;
#ifndef CONFIG_MMU
mm->end_data = seg->addr + phdr->p_memsz;
#endif
}

#ifdef CONFIG_MMU
if (seg->addr + phdr->p_memsz > mm->end_data)
mm->end_data = seg->addr + phdr->p_memsz;
#endif
}

seg++;
Expand Down

0 comments on commit 9c3b8e7

Please sign in to comment.