From: Adrian Bunk Date: Fri, 15 Feb 2008 03:31:20 +0000 (-0800) Subject: fix module_update_markers() compile error X-Git-Tag: v2.6.25-rc2~44 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=1387d0d8b002c8ce90412fb2695ec6085eb8ce01;p=linux-2.6-omap-h63xx.git 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 Acked-by: Mathieu Desnoyers Cc: Paul Mundt Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- 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) { }