Messages in this thread |  | | Subject | Re: Module Versioning Problems: How to "probe" for SMP | Date | Mon, 16 Sep 1996 10:36:13 -0600 | From | Drew Eckhardt <> |
| |
In message <Pine.LNX.3.91.960916165134.10386A-100000@elserv.ffm.fgan.de>, lerme n@elserv.ffm.fgan.de writes: >On Mon, 16 Sep 1996, Alan Cox wrote: >Why not let say the kernel _what_ he is ? >If 'smp_num_cpus' shouldn't be a variable due to performance, well then >lets have a new one, which is only used for module purpose. >An alternative is to merge the info into UTS_VERSION or LINUX_COMPILE_*.
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.
-- <a href="http://www.poohsticks.org/drew/">Home Page</a> By using the following line in your .sig, you violate 18 USC 1462, committing a class D felony, good for up to 5 years in prison and a $250,000 fine: Planned Parenthood provides information on abortions.
|  |