Re: __KERNEL__ and __MODULE__

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
========================================================================

[Index of Archives]     [Audio]     [Hams]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Fedora Users]

  Powered by Linux