diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2010-01-04 15:32:09 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-01-04 15:32:09 -0500 |
commit | d4d3b19212a1045ff8224e680375076b3677ede7 (patch) | |
tree | a6ef0044ca7afbc3ddb631a2e158cc8a3b7ba7ba /fs | |
parent | e43c259777999d19532cf418ca69ce1288b42edc (diff) | |
parent | 2f48912d1443a796f10c42c89cb386f0e3eca04d (diff) |
Merge branch 'sh/for-2.6.33' of git://git.kernel.org/pub/scm/linux/kernel/git/lethal/sh-2.6
* 'sh/for-2.6.33' of git://git.kernel.org/pub/scm/linux/kernel/git/lethal/sh-2.6:
binfmt_elf_fdpic: Fix build breakage introduced by coredump changes.
sh: update defconfigs.
sh: Don't default enable PMB support.
sh: Disable PMB for SH4AL-DSP CPUs.
sh: Only provide a PCLK definition for legacy CPG CPUs.
Diffstat (limited to 'fs')
-rw-r--r-- | fs/binfmt_elf_fdpic.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/binfmt_elf_fdpic.c b/fs/binfmt_elf_fdpic.c index c25256a5c5b0..7dc85997e96c 100644 --- a/fs/binfmt_elf_fdpic.c +++ b/fs/binfmt_elf_fdpic.c | |||
@@ -1798,11 +1798,11 @@ static int elf_fdpic_core_dump(struct coredump_params *cprm) | |||
1798 | ELF_CORE_WRITE_EXTRA_DATA; | 1798 | ELF_CORE_WRITE_EXTRA_DATA; |
1799 | #endif | 1799 | #endif |
1800 | 1800 | ||
1801 | if (file->f_pos != offset) { | 1801 | if (cprm->file->f_pos != offset) { |
1802 | /* Sanity check */ | 1802 | /* Sanity check */ |
1803 | printk(KERN_WARNING | 1803 | printk(KERN_WARNING |
1804 | "elf_core_dump: file->f_pos (%lld) != offset (%lld)\n", | 1804 | "elf_core_dump: file->f_pos (%lld) != offset (%lld)\n", |
1805 | file->f_pos, offset); | 1805 | cprm->file->f_pos, offset); |
1806 | } | 1806 | } |
1807 | 1807 | ||
1808 | end_coredump: | 1808 | end_coredump: |