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

From: Manfred (manfred@colorfullife.com)
Date: Thu Jan 04 2001 - 05:37:59 EST


Look at include/linux/smp.h: on SMP, it includes <asm/smp.h>, on UP it
contains a

#define smp_num_cpus 1

I assume that someone directly includes <asm/smp.h>.

Try to add a

#ifndef __LINUX_SMP_H
#error Found it!
#endif

to the beginning of <asm-alpha/smp.h>

--
	Manfred
-
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:18 EST