On Wed, Jul 10, 2002 at 10:09:53AM -0700, Peter Jay Salzman wrote: > is there any difference between #defining __KERNEL__ and MODULE in the > source code or defining them with a -D gcc argument? Not really ... > is one way prefered over another? Yes, the -D way. But a kernel module should just be using the kernel build rules anyway when possible, and shouldn't have to futz with such stuff john -- "I know I believe in nothing but it is my nothing" - Manic Street Preachers -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/