From: Linus Torvalds Date: Fri, 15 Oct 2010 02:15:28 +0000 (-0700) Subject: Export dump_{write,seek} to binary loader modules X-Git-Tag: v3.12-rc1~8499 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8fd01d6cfbf75465d84a4e533ed70c5f57b3ff51;p=kernel%2Fkernel-generic.git Export dump_{write,seek} to binary loader modules If you build aout support as a module, you'll want these exported. Reported-by: Tetsuo Handa Signed-off-by: Linus Torvalds --- diff --git a/fs/exec.c b/fs/exec.c index 03278c9..6d2b6f9 100644 --- a/fs/exec.c +++ b/fs/exec.c @@ -2024,6 +2024,7 @@ int dump_write(struct file *file, const void *addr, int nr) { return access_ok(VERIFY_READ, addr, nr) && file->f_op->write(file, addr, nr, &file->f_pos) == nr; } +EXPORT_SYMBOL(dump_write); int dump_seek(struct file *file, loff_t off) { @@ -2052,3 +2053,4 @@ int dump_seek(struct file *file, loff_t off) } return ret; } +EXPORT_SYMBOL(dump_seek);