2.4.0-Prerelease :smp_num_cpus undefined while compiling without smp for

=?iso-8859-1?Q?Fran=E7ois?= Isabelle (isabellf@sympatico.ca)
Wed, 03 Jan 2001 23:04:24 -0500


in smp.h macro
#define smp_num_cpus
etc...
have no effect on the kernel_stat.h file .

if might be undefined or declared elsewhere as an int or such...I added
#define smp_test_num_cpus
and replaced the occurence in kernel_stat.h and it worked ok

and tried to find where the smp_num_cpus define was getting screwed...
no success.

this have the effect of unbuildable kernel with options: smp off and
athlon on, i don't know about other problematic configurations.
I have gcc version 2.96
and make 3.78.1

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/