Re: reiser4, kallsyms_lookup, 2.6.7-mm7

From: Norberto Bensa
Date: Thu Jul 29 2004 - 07:29:27 EST


Guillaume POIRIER wrote:
> Norberto Bensa wrote:
> > Hello everyone,
> >
> > well, just out of curiosity (I wanted to play with reiser4) I've
>
> patched my 2.6.7-mm7 tree; no rejects. But I get this:
> > *** Warning: "kallsyms_lookup" [fs/reiser4/reiser4.ko] undefined!
> >
> > How do I get around that warning?
>
> Is there any #include <linux/kallsyms.h>
> in any of the top files of this patch?

Yes, there's one on fs/reiser4/debug.c, which is the file referencing that
function.

I did a:

EXPORT_SYMBOL(kallsyms_lookup);

in kernel/kallsyms.c and problem solved; I was looking for a better
solution...

Many thanks,
Norberto
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/