Required for the kernel include files. __KERNEL__ says it's a kernel
compilation and MODULE says it's a module.
Normally they are declared in the kernel makefiles, but for custom
modules with a makefile I tend to write them as defines for convenience.
In 2.5 you'll also need KBUILD_MODNAME
-Andi
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/