[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: kernel modules - big problems
Greg KH (greg@kroah.com) wrote:
> On Thu, Jul 03, 2003 at 03:36:46PM +0200, Christophe Lucas wrote:
> > Michael Svetlik (m.svetlik@ssi-schaefer-peem.com) wrote:
> > > On Thursday 03 July 2003 12:19, Arjan van de Ven wrote:
> > > > On Thu, 2003-07-03 at 11:16, Michael Svetlik wrote:
> > > > > You need to declare the preprocessor #define's __KERNEL__, MODULE and
> > > > > MODVERSIONS.
> > > >
> > > > like heck you don't!
> > > > Never ever do that in .c files!
> >
> > Some explications of what we don't do that or other this can be seen on
> > greg k-h talks on: http://www.kroah.com/linux/
>
> Huh? What talk did I do that mentions this?
Not this special case. I say some of thing is _good_ or _bad_ to do in
you slides. ;-)
--
Cordialement/Regards
+-------------------------------------------------------+
| Christophe Lucas -- IOMEDA SA (clucas@iomeda.fr) |
| Developpeur/Administrateur GNU/Linux |
| http://titux.tuxfamily.org |
+-------------------------------------------------------+
| GAT d- s: a- C+++ UL++++ P+ L+++ E--- W++ N+ o-- K- w |
| O-- M V- PS+ PE- Y+ PGP t 5 X R* tv- b++ DI-- D+ |
| G e+++ h-- r++ y+ |
+-------------------------------------------------------+
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive: http://mail.nl.linux.org/kernelnewbies/
FAQ: http://kernelnewbies.org/faq/