Re: [PATCH] Export symbols so CONFIG_INPUT works as a module

From: Dmitry Torokhov
Date: Tue Jan 24 2006 - 18:07:24 EST


On 1/24/06, Al Viro <viro@xxxxxxxxxxxxxxxx> wrote:
> On Tue, Jan 24, 2006 at 01:34:32PM -0500, Dave Jones wrote:
> > On Tue, Jan 24, 2006 at 06:19:45PM +0000, Martin Michlmayr wrote:
> > > Currently, modular input support fails to load with the following error:
> > >
> > > qube:# modprobe input
> > > input: Unknown symbol kobject_get_path
> > > input: Unknown symbol add_input_randomness
> > >
> > > In the short run, this can be solved by exporting these two symbols.
> > > There have been discussions about fixing this in a different manner,
> > > see http://www.ussg.iu.edu/hypermail/linux/kernel/0505.2/1068.html
> > > Since this was in the days of 2.6.12-rc4 and modular input support is
> > > still broken, I suggest these symbols to be exported for now.
> >
> > Is there actually any practical reason why you would want to
> > make the input layer modular ?
>
> More interesting question: is pis^H^H^Hsysfs interaction in there safe for
> modular code?

The core should be safe, at least I was trying to make it this way, so
if you see something wrong - shout. Locking is another question
though...

--
Dmitry
-
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/