LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [PATCH] markers: Fix build for MODULES=n.
@ 2008-02-14  7:25 Paul Mundt
  2008-02-14 13:32 ` Mathieu Desnoyers
  0 siblings, 1 reply; 3+ messages in thread
From: Paul Mundt @ 2008-02-14  7:25 UTC (permalink / raw)
  To: Mathieu Desnoyers; +Cc: Andrew Morton, linux-kernel

  CC      kernel/marker.o
kernel/marker.c: In function 'marker_update_probes':
kernel/marker.c:627: error: too few arguments to function 'module_update_markers'
make[1]: *** [kernel/marker.o] Error 1
make: *** [kernel] Error 2

module_update_markers() doesn't take any arguments, update the MODULES=n
version of it to reflect that.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>

---

 include/linux/module.h |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/include/linux/module.h b/include/linux/module.h
index 330bec0..819c4e8 100644
--- a/include/linux/module.h
+++ b/include/linux/module.h
@@ -567,8 +567,7 @@ static inline void print_modules(void)
 {
 }
 
-static inline void module_update_markers(struct module *probe_module,
-		int *refcount)
+static inline void module_update_markers(void)
 {
 }
 

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-02-14 14:32 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-02-14  7:25 [PATCH] markers: Fix build for MODULES=n Paul Mundt
2008-02-14 13:32 ` Mathieu Desnoyers
2008-02-14 14:31   ` Paul Mundt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).