Re: 2.5.34 - EXPORT_SYMBOL(reparent_to_init) for module build

From: Patrick Mansfield (patmans@us.ibm.com)
Date: Mon Sep 09 2002 - 20:12:16 EST


On Tue, Sep 10, 2002 at 01:24:18AM +0100, John Levon wrote:
> On Mon, Sep 09, 2002 at 05:21:11PM -0700, Patrick Mansfield wrote:
>
> > With 2.5.34, in order to build a module that calls daemonize(), I had to
> > export reparent_to_init:
>
> I suggest you check the source of daemonize() in 2.5.34 ;)
>
> regards
> john

OK, thanks, I thought I grepped the module source (qla v6b5 adapter, not
included in the kernel tree), but missed the call to reparent_to_init().
I was wondering why I'd need an export for a function only called from
within in its own file. I removed the reparent_to_init call and it worked
fine.

Perhaps reparent_to_init should now be static?

Thanks.

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



This archive was generated by hypermail 2b29 : Sun Sep 15 2002 - 22:00:20 EST