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

2001-01-04 Thread Manfred
Look at include/linux/smp.h: on SMP, it includes , on UP it contains a #define smp_num_cpus1 I assume that someone directly includes . Try to add a #ifndef __LINUX_SMP_H #error Found it! #endif to the beginning of -- Manfred - To unsubscribe from this list: send the line "unsub

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

2001-01-03 Thread François Isabelle
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