[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20061117215605.40226e71.randy.dunlap@oracle.com>
Date: Fri, 17 Nov 2006 21:56:05 -0800
From: Randy Dunlap <randy.dunlap@...cle.com>
To: lkml <linux-kernel@...r.kernel.org>
Cc: akpm <akpm@...l.org>
Subject: [PATCH -mm] profile_likely: export do_check_likely
From: Randy Dunlap <randy.dunlap@...cle.com>
I see MODPOST warnings for all modules in some (random) configs; e.g.:
(This is a short list; I see >100 of these.)
WARNING: "do_check_likely" [net/sched/cls_basic.ko] undefined!
WARNING: "do_check_likely" [net/netfilter/x_tables.ko] undefined!
WARNING: "do_check_likely" [net/key/af_key.ko] undefined!
WARNING: "do_check_likely" [kernel/rcutorture.ko] undefined!
WARNING: "do_check_likely" [fs/xfs/xfs.ko] undefined!
WARNING: "do_check_likely" [fs/sysv/sysv.ko] undefined!
WARNING: "do_check_likely" [fs/reiserfs/reiserfs.ko] undefined!
WARNING: "do_check_likely" [fs/ntfs/ntfs.ko] undefined!
WARNING: "do_check_likely" [fs/minix/minix.ko] undefined!
Signed-off-by: Randy Dunlap <randy.dunlap@...cle.com>
---
lib/likely_prof.c | 2 ++
1 file changed, 2 insertions(+)
--- linux-2619-rc5mm2.orig/lib/likely_prof.c
+++ linux-2619-rc5mm2/lib/likely_prof.c
@@ -10,6 +10,7 @@
*/
#include <linux/init.h>
+#include <linux/module.h>
#include <linux/types.h>
#include <linux/fs.h>
#include <linux/seq_file.h>
@@ -50,6 +51,7 @@ int do_check_likely(struct likeliness *l
return ret;
}
+EXPORT_SYMBOL(do_check_likely);
static void * lp_seq_start(struct seq_file *out, loff_t *pos)
{
---
-
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