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
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
2 matches
Mail list logo