Remove CPU and node id fields that were used with SGI Origin.
authorvisa <visa@openbsd.org>
Fri, 28 May 2021 16:33:36 +0000 (16:33 +0000)
committervisa <visa@openbsd.org>
Fri, 28 May 2021 16:33:36 +0000 (16:33 +0000)
sys/arch/mips64/include/cpu.h
sys/arch/mips64/mips64/cpu.c

index d439074..dd59c88 100644 (file)
@@ -1,4 +1,4 @@
-/*     $OpenBSD: cpu.h,v 1.132 2021/05/05 15:29:19 visa Exp $  */
+/*     $OpenBSD: cpu.h,v 1.133 2021/05/28 16:33:36 visa Exp $  */
 
 /*-
  * Copyright (c) 1992, 1993
@@ -183,11 +183,6 @@ struct cpu_info {
 
        u_int32_t       ci_pendingticks;
 
-#ifdef TGT_ORIGIN
-       u_int16_t       ci_nasid;
-       u_int16_t       ci_slice;
-#endif
-
        struct pmap     *ci_curpmap;
        uint            ci_intrdepth;           /* interrupt depth */
 #ifdef MULTIPROCESSOR
index 0ac501e..2d1998c 100644 (file)
@@ -1,4 +1,4 @@
-/*     $OpenBSD: cpu.c,v 1.78 2021/05/01 16:11:11 visa Exp $ */
+/*     $OpenBSD: cpu.c,v 1.79 2021/05/28 16:33:36 visa Exp $ */
 
 /*
  * Copyright (c) 1997-2004 Opsycon AB (www.opsycon.se)
@@ -127,11 +127,6 @@ cpuattach(struct device *parent, struct device *dev, void *aux)
        }
 #endif
 
-#ifdef TGT_ORIGIN
-       ci->ci_nasid = caa->caa_maa.maa_nasid;
-       ci->ci_slice = caa->caa_maa.maa_physid;
-#endif
-
        printf(": ");
 
        displayver = 1;