begin John Levon <movement@marcelothewonderpenguin.com> > 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. cool. thanks. :) > But a kernel module should just be using the kernel > build rules anyway when possible, and shouldn't have to futz with such > stuff ok noted. but this is for my own playing around, so futzing should be allowed here. :) hmm... seems like i somehow got unsubscribed from this list?!? i'll resubscribe now. thanks! pete -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/