Hi. > In the latest Linux kernel 3.xx.xx, I cannot grep DECLARE_MUTEX and > DECLARE_MUTEX_LOCKED. Both of them may be deprecated by the kernel. AFAIK DECLARE_MUTEX is deprecated. It was based on semaphores. In new kernels you should to use DEFINE_MUTEX. http://lxr.linux.no/linux+v3.0.4/include/linux/mutex.h This happens between 2.6.36 and 2.6.38. > __builtin_constant_p is more like a gcc specific compiling option. This > has beyond the kernel scope. If interested, please refer to gcc manual for > more info. http://gcc.gnu.org/onlinedocs/gcc/Other-Builtins.html PS: Google is your friend. ;) -- WBR, Alexander Sannikov. -- To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.linux-learn.org/faqs