On Mon, 12 Sep 2005, Knowledge Seeker wrote: > If I have a spinlock in my code (Linux 2.6) and CONFIG_SMP if undef and > CONFIG_PREEMPT is define. Will this spinlock turn into disable_preempt > macro ? Yes, it should. -- "Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." - Brian W. Kernighan -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/