LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [2.6 patch] fix module_update_markers() compile error
@ 2008-02-14 1:08 Adrian Bunk
2008-02-14 1:26 ` Mathieu Desnoyers
0 siblings, 1 reply; 2+ messages in thread
From: Adrian Bunk @ 2008-02-14 1:08 UTC (permalink / raw)
To: Mathieu Desnoyers; +Cc: linux-kernel
This patch fixes the following compile error with CONFIG_MODULES=n
caused by commit fb40bd78b0f91b274879cf5db8facd1e04b6052e:
<-- snip -->
...
CC kernel/marker.o
/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’
make[2]: *** [kernel/marker.o] Error 1
<-- snip -->
Signed-off-by: Adrian Bunk <bunk@kernel.org>
---
8d811a4160c6e2cb92391076e0e0b500e1b4a8a2 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 related [flat|nested] 2+ messages in thread
* Re: [2.6 patch] fix module_update_markers() compile error
2008-02-14 1:08 [2.6 patch] fix module_update_markers() compile error Adrian Bunk
@ 2008-02-14 1:26 ` Mathieu Desnoyers
0 siblings, 0 replies; 2+ messages in thread
From: Mathieu Desnoyers @ 2008-02-14 1:26 UTC (permalink / raw)
To: Adrian Bunk, akpm; +Cc: linux-kernel
* Adrian Bunk (bunk@kernel.org) wrote:
> This patch fixes the following compile error with CONFIG_MODULES=n
> caused by commit fb40bd78b0f91b274879cf5db8facd1e04b6052e:
>
> <-- snip -->
>
> ...
> CC kernel/marker.o
> /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’
> make[2]: *** [kernel/marker.o] Error 1
>
> <-- snip -->
>
> Signed-off-by: Adrian Bunk <bunk@kernel.org>
>
Thanks for spotting this.
Acked-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
> ---
> 8d811a4160c6e2cb92391076e0e0b500e1b4a8a2 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)
> {
> }
>
>
--
Mathieu Desnoyers
Computer Engineering Ph.D. Student, Ecole Polytechnique de Montreal
OpenPGP key fingerprint: 8CD5 52C3 8E3C 4140 715F BA06 3F25 A8FE 3BAE 9A68
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-02-14 1:31 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-02-14 1:08 [2.6 patch] fix module_update_markers() compile error Adrian Bunk
2008-02-14 1:26 ` Mathieu Desnoyers
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).