lkml.org 
[lkml]   [1996]   [Sep]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: Module Versioning Problems: How to "probe" for SMP
Date
From
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.

\
 
 \ /
  Last update: 2005-03-22 13:38    [W:0.346 / U:0.312 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site