[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: __KERNEL__ and __MODULE__
On Thu, 1 Feb 2007, Simon Valiquette wrote:
> Daniel Rodrick un jour écrivit:
> > 2) Why two variants ? KERNEL V/s __KERNEL__ and MODULE v/s __MODULE__?
>
> AFAIK, there is only MODULE and __KERNEL__. I don't think that
> __MODULE__ or KERNEL exist. I greped the 2.6.17 kernel just to be
> sure, and didn't found any instance of them.
actually, there is a single example of "#ifdef KERNEL" in
include/linux/coda.h but, what the heck, i'll submit a patch for that
in the next 30 seconds.
rday
--
========================================================================
Robert P. J. Day
Linux Consulting, Training and Annoying Kernel Pedantry
Waterloo, Ontario, CANADA
http://www.fsdev.dreamhosters.com/wiki/index.php?title=Main_Page
========================================================================