Re: Support 2.4 modules features in 2.6

From: Arjan van de Ven
Date: Tue Dec 12 2006 - 10:40:23 EST


On Tue, 2006-12-12 at 20:41 +0530, Jaswinder Singh wrote:
> On 12/12/06, Arjan van de Ven <arjan@xxxxxxxxxxxxx> wrote:
> > On Tue, 2006-12-12 at 19:36 +0530, Jaswinder Singh wrote:
> > > Hello,
> > >
> > > I want to support old 2.4 modules features in 2.6 kernel modules:-
> > > 1. no kernel source tree is required to build modules.
> >
> > this is a 2.6 not a 2.4 feature btw
> >
>
> Really!! , Please let me know what is the procedure to build the
> modules after deleting kernel linux-2.6*

you only need include/* for this in 2.6

you can't do this at all with 2.4 kernels, it needs the whole lot.

(in both cases the code and headers are needed so that your module can
use the data structures and compile in the kernel code you select to use
from inlines)
>
>
> > > 2. support modular plugins.
> >
> > ?
>
> modular plugins means :-

you can still do that. Just you're better off building them in one go;


can you give us a pointer to the source of this 2.4 module you have?
Maybe some of the mechanisms that you want this for are now very
outdated and obsoleted by easier functionality.


--
if you want to mail me at work (you don't), use arjan (at) linux.intel.com
Test the interaction between Linux and your BIOS via http://www.linuxfirmwarekit.org

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