Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/alpha/tlsb Adjust for a multiprocessor data structu...



details:   https://anonhg.NetBSD.org/src/rev/81461e3fc37f
branches:  trunk
changeset: 508838:81461e3fc37f
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Fri Apr 20 18:03:27 2001 +0000

description:
Adjust for a multiprocessor data structure change (whee, I guess
I haven't built a GENERIC.MP for a while...)

diffstat:

 sys/arch/alpha/tlsb/tlsb.c |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (35 lines):

diff -r d34a2f3524f3 -r 81461e3fc37f sys/arch/alpha/tlsb/tlsb.c
--- a/sys/arch/alpha/tlsb/tlsb.c        Fri Apr 20 18:00:50 2001 +0000
+++ b/sys/arch/alpha/tlsb/tlsb.c        Fri Apr 20 18:03:27 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: tlsb.c,v 1.19 1999/08/10 23:35:47 thorpej Exp $ */
+/* $NetBSD: tlsb.c,v 1.20 2001/04/20 18:03:27 thorpej Exp $ */
 /*
  * Copyright (c) 1997 by Matthew Jacob
  * NASA AMES Research Center.
@@ -39,7 +39,7 @@
 
 #include <sys/cdefs.h>                 /* RCS ID & Copyright macro defns */
 
-__KERNEL_RCSID(0, "$NetBSD: tlsb.c,v 1.19 1999/08/10 23:35:47 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: tlsb.c,v 1.20 2001/04/20 18:03:27 thorpej Exp $");
 
 #include "opt_multiprocessor.h"
 
@@ -50,6 +50,7 @@
 
 #include <machine/autoconf.h>
 #include <machine/cpu.h>
+#include <machine/cpuvar.h>
 #include <machine/rpb.h>
 #include <machine/pte.h>
 #include <machine/alpha.h>
@@ -226,7 +227,7 @@
                         */
                        printf("%s node %d: routing interrupts to %s\n",
                          self->dv_xname, node,
-                         cpu_info[hwrpb->rpb_primary_cpu_id].ci_dev->dv_xname);
+                         cpu_info[hwrpb->rpb_primary_cpu_id].ci_softc->sc_dev.dv_xname);
                        TLSB_PUT_NODEREG(node, TLCPUMASK,
                            (1UL << hwrpb->rpb_primary_cpu_id));
 #else



Home | Main Index | Thread Index | Old Index