On Dec 12, 2007 9:26 AM, Ramagudi Naziir <naziirr@xxxxxxxxx> wrote: > Hi all, > > Should I define __KERNEL__ in my in-tree kernel module (that may > be compiled as built-in if the user wanted) ? No. > Or does it gets defined automatically by kbuild ? $ grep __KERNEL__ Makefile KBUILD_CPPFLAGS := -D__KERNEL__ $(LINUXINCLUDE) (Yes.) > Thank you > naziir Vegard -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx Please read the FAQ at http://kernelnewbies.org/FAQ