Re: nopage mm.h

From: Justin Mattock
Date: Mon May 05 2008 - 01:07:19 EST


On Mon, May 5, 2008 at 4:19 AM, Nick Piggin <npiggin@xxxxxxx> wrote:
>
> On Mon, May 05, 2008 at 03:47:27AM +0000, Justin Mattock wrote:
> > On Mon, May 5, 2008 at 3:28 AM, Nick Piggin <npiggin@xxxxxxx> wrote:
> > > On Sun, May 04, 2008 at 04:12:49PM +0000, Justin Mattock wrote:
> > > > On Sun, May 4, 2008 at 7:42 AM, Jiri Slaby <jirislaby@xxxxxxxxx> wrote:
> > > > > Justin Mattock napsal(a):
> > > > >
> > > > > > Hello; I have a question about the nopage function that was removed in
> > > > > > the kernel.
> > > > > > What would be the best way for me to build a module that has a nopage
> > > > > > funtion in it?
> > > > > >
> > > > >
> > > > > use .fault instead
> > > > >
> > > > Hello thanks for the response, I'll have a look into that. The problem
> > > > I'm confronted with right now is the module is not going to
> > > > install due to it being a non-GPL module. After doing some reading I
> > > > was unawre that the kernel was going GPL-only in 2008, so with that in
> > > > mind I need to comply with the regulations. So the question I have now
> > > > is: Is there a module that is GPL approved that will give me 3D for
> > > > the macbook pro. And also recover from suspend?
> > >
> > > Hopefully the driver vendor should provide an update soon. Otherwise,
> > > possibly you could patch back in the .nopage stuff? (It is just a
> > > single commit which does nothing but remove nopage, try reverting it).
> > >
> > >
> > >
> >
> > Hello; thanks for the info, I did revert the nopage back into the
> > kernel, but after all of that, I'm confronted with
> > the module not being a GPL-only module `init_pid_ns'.
> > I've looked in kernel/pid.c and am noticing EXPORT_SYMBOL_GPL(init_pid_ns);
> > With that in mind I'm more concerned about the module not being
> > GPL-only, is this in full enforcement, or just a thaught
> > that irritated a bunch of people.
> > regards;
>
> OK, not sure about that one... but if it is just your personal kernel,
> and not for redistribution, then you are of course free to make any
> changes you like. Including changing EXPORT_SYMBOL_GPL. Maybe it is
> a reasonable temporary measure for you until you get some better
> drivers.
>
>

Cool; yes this is just for personal use only, not redistribution.
Then in that case I'll have a look into seeing if I can get up and running again
with 2.6.26-rc1.
regards;

--
Justin P. Mattock
--
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/