Re: Module Versioning Problems: How to "probe" for SMP

Alan Cox (alan@cymru.net)
Mon, 16 Sep 1996 17:57:48 +0100 (BST)


> Nothing is stopping you from having a smp_num_cpus variable in the
> kernel for module use while actually using the #define within the
> kernel.

My belief in writing easy to understand code that doesn't do stupid tricks
stands in the way. Adding a smp_is_active variable is easy enough and
worth doing