diff options
author | Steve Murphree <smurph@cvs.openbsd.org> | 2001-12-19 07:04:43 +0000 |
---|---|---|
committer | Steve Murphree <smurph@cvs.openbsd.org> | 2001-12-19 07:04:43 +0000 |
commit | 8130d56a7bb2e09e2c8b782f3f4a54133a0bb161 (patch) | |
tree | 1dd36d374c7d72391551b03ca96630523b33efe7 /sys/arch/mvme88k/include/cpu_number.h | |
parent | 0941b7f1f3dcc38dc20d2613943aa615d5b3c25b (diff) |
Introduce brdtyp and change what cputyp means.
Diffstat (limited to 'sys/arch/mvme88k/include/cpu_number.h')
-rw-r--r-- | sys/arch/mvme88k/include/cpu_number.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/arch/mvme88k/include/cpu_number.h b/sys/arch/mvme88k/include/cpu_number.h index 51bd18ce32e..7744fc4d8ed 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.8 2001/12/16 23:49:46 miod Exp $ */ +/* $OpenBSD: cpu_number.h,v 1.9 2001/12/19 07:04:41 smurph Exp $ */ /* * Mach Operating System @@ -39,8 +39,7 @@ static unsigned cpu_number __P((void)); static __inline__ unsigned cpu_number(void) { register unsigned cpu; - - if (cputyp != CPU_188 || number_cpus == 1) return 0; + if (brdtyp != BRD_188 || number_cpus == 1) return 0; __asm__ ("ldcr %0, cr18" : "=r" (cpu)); return (cpu & 3); } |