Skip to content

Commit

Permalink
fix module_update_markers() compile error
Browse files Browse the repository at this point in the history
This patch fixes the following compile error with CONFIG_MODULES=n
caused by commit fb40bd7:

/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 <[email protected]>
Acked-by: Mathieu Desnoyers <[email protected]>
Cc: Paul Mundt <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
AdrianBunk authored and Linus Torvalds committed Feb 15, 2008
1 parent 2ebda63 commit 1387d0d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions include/linux/module.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
}

Expand Down

0 comments on commit 1387d0d

Please sign in to comment.