2.4.0-Prerelease :smp_num_cpus undefined while compiling without smp for Athlon

From: François Isabelle (isabellf@sympatico.ca)
Date: Wed Jan 03 2001 - 23:04:24 EST


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/



This archive was generated by hypermail 2b29 : Sun Jan 07 2001 - 21:00:17 EST