[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20080214072517.GG12436@linux-sh.org>
Date: Thu, 14 Feb 2008 16:25:17 +0900
From: Paul Mundt <lethal@...ux-sh.org>
To: Mathieu Desnoyers <mathieu.desnoyers@...ymtl.ca>
Cc: Andrew Morton <akpm@...ux-foundation.org>,
linux-kernel@...r.kernel.org
Subject: [PATCH] markers: Fix build for MODULES=n.
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@...ux-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)
{
}
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists