diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2001-12-16 23:49:48 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2001-12-16 23:49:48 +0000 |
commit | 4c3ee3bc825b44e31dd265ae0db047015e86da6b (patch) | |
tree | 7177501c70e488ac5260c2bcd0c5b6ca2644702c /sys/arch/mvme88k/include/cpu_number.h | |
parent | 9e602379a914ff34ca6650a265b85e6ffe484b2d (diff) |
Revert the mvme88k to 20011212. Recent changes had not been merged correctly,
and I am fed up with dissecting diffs to put back code that disappeared.
This will likely be fixed shortly.
Diffstat (limited to 'sys/arch/mvme88k/include/cpu_number.h')
-rw-r--r-- | sys/arch/mvme88k/include/cpu_number.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/arch/mvme88k/include/cpu_number.h b/sys/arch/mvme88k/include/cpu_number.h index 410e2614592..51bd18ce32e 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.7 2001/12/13 08:55:51 smurph Exp $ */ +/* $OpenBSD: cpu_number.h,v 1.8 2001/12/16 23:49:46 miod Exp $ */ /* * Mach Operating System @@ -39,7 +39,8 @@ static unsigned cpu_number __P((void)); static __inline__ unsigned cpu_number(void) { register unsigned cpu; - if (brdtyp != BRD_188 || number_cpus == 1) return 0; + + if (cputyp != CPU_188 || number_cpus == 1) return 0; __asm__ ("ldcr %0, cr18" : "=r" (cpu)); return (cpu & 3); } |