aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@kernel.org>2008-02-14 19:31:20 -0800
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2008-02-14 20:58:04 -0800
commit1387d0d8b002c8ce90412fb2695ec6085eb8ce01 (patch)
tree3c0de774d57eb9896c720f8afd3c58d0144c8ae1
parent2ebda63b09a4e2232effb7a37e609651fe221090 (diff)
fix module_update_markers() compile error
This patch fixes the following compile error with CONFIG_MODULES=n caused by commit fb40bd78b0f91b274879cf5db8facd1e04b6052e: /home/bunk/linux/kernel-2.6/git/linux-2.6/kernel/marker.c: In function `marker_update_probes': /home/bunk/linux/kernel-2.6/git/linux-2.6/kernel/marker.c:627: error: too few arguments to function `module_update_markers' Signed-off-by: Adrian Bunk <bunk@kernel.org> Acked-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca> Cc: Paul Mundt <lethal@linux-sh.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r--include/linux/module.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/linux/module.h b/include/linux/module.h
index 330bec08c2c..819c4e889bf 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)
{
}