* [PATCH .36-rc8] a.out: Fix module build failure
@ 2010-10-15 2:34 Ingo Molnar
2010-10-15 2:42 ` Linus Torvalds
0 siblings, 1 reply; 2+ messages in thread
From: Ingo Molnar @ 2010-10-15 2:34 UTC (permalink / raw)
To: Linus Torvalds; +Cc: linux-kernel
The recent aout fix causes a modular build failure on x86
(allmodconfig):
ERROR: "dump_seek" [fs/binfmt_aout.ko] undefined!
ERROR: "dump_write" [fs/binfmt_aout.ko] undefined!
Export these symbols.
Signed-off-by: Ingo Molnar <mingo@elte.hu>
---
diff --git a/fs/exec.c b/fs/exec.c
index 03278c9..c55ca82 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_GPL(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_GPL(dump_seek);
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-10-15 2:43 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-15 2:34 [PATCH .36-rc8] a.out: Fix module build failure Ingo Molnar
2010-10-15 2:42 ` Linus Torvalds
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.