diff options
Diffstat (limited to 'fs')
-rw-r--r-- | fs/binfmt_elf_fdpic.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/fs/binfmt_elf_fdpic.c b/fs/binfmt_elf_fdpic.c index 4739506fb083..1a6c8e2eb1c5 100644 --- a/fs/binfmt_elf_fdpic.c +++ b/fs/binfmt_elf_fdpic.c | |||
@@ -1456,8 +1456,8 @@ static int elf_dump_thread_status(long signr, struct elf_thread_status *t) | |||
1456 | * dump the segments for an MMU process | 1456 | * dump the segments for an MMU process |
1457 | */ | 1457 | */ |
1458 | #ifdef CONFIG_MMU | 1458 | #ifdef CONFIG_MMU |
1459 | static int elf_fdpic_dump_segments(struct file *file, struct mm_struct *mm, | 1459 | static int elf_fdpic_dump_segments(struct file *file, size_t *size, |
1460 | size_t *size, unsigned long *limit) | 1460 | unsigned long *limit) |
1461 | { | 1461 | { |
1462 | struct vm_area_struct *vma; | 1462 | struct vm_area_struct *vma; |
1463 | 1463 | ||
@@ -1511,8 +1511,8 @@ end_coredump: | |||
1511 | * dump the segments for a NOMMU process | 1511 | * dump the segments for a NOMMU process |
1512 | */ | 1512 | */ |
1513 | #ifndef CONFIG_MMU | 1513 | #ifndef CONFIG_MMU |
1514 | static int elf_fdpic_dump_segments(struct file *file, struct mm_struct *mm, | 1514 | static int elf_fdpic_dump_segments(struct file *file, size_t *size, |
1515 | size_t *size, unsigned long *limit) | 1515 | unsigned long *limit) |
1516 | { | 1516 | { |
1517 | struct vm_list_struct *vml; | 1517 | struct vm_list_struct *vml; |
1518 | 1518 | ||