[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: kernel modules - big problems
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/
HTH
--
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/