diff options
Diffstat (limited to 'sys/arch/mvme88k/include/cpu_number.h')
-rw-r--r-- | sys/arch/mvme88k/include/cpu_number.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/mvme88k/include/cpu_number.h b/sys/arch/mvme88k/include/cpu_number.h index 0410fef2390..6069dcaba1d 100644 --- a/sys/arch/mvme88k/include/cpu_number.h +++ b/sys/arch/mvme88k/include/cpu_number.h @@ -1,4 +1,4 @@ -/* $OpenBSD: cpu_number.h,v 1.5 2001/07/04 08:09:23 niklas Exp $ */ +/* $OpenBSD: cpu_number.h,v 1.6 2001/08/26 14:31:07 miod Exp $ */ /* * Mach Operating System @@ -39,7 +39,7 @@ static unsigned cpu_number __P((void)); static __inline__ unsigned cpu_number(void) { register unsigned cpu; - extern int cputyp; + if (cputyp != CPU_188 || number_cpus == 1) return 0; __asm__ ("ldcr %0, cr18" : "=r" (cpu)); return (cpu & 3); |