From 97682364eff33b8c4c3d59ac1f04d14703a2874c Mon Sep 17 00:00:00 2001 From: thorpej Date: Fri, 20 Apr 2001 18:03:27 +0000 Subject: [PATCH] Adjust for a multiprocessor data structure change (whee, I guess I haven't built a GENERIC.MP for a while...) --- sys/arch/alpha/tlsb/tlsb.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/sys/arch/alpha/tlsb/tlsb.c b/sys/arch/alpha/tlsb/tlsb.c index 46d6f8c09291..8289d09b62ac 100644 --- a/sys/arch/alpha/tlsb/tlsb.c +++ b/sys/arch/alpha/tlsb/tlsb.c @@ -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 /* 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 @@ __KERNEL_RCSID(0, "$NetBSD: tlsb.c,v 1.19 1999/08/10 23:35:47 thorpej Exp $"); #include #include +#include #include #include #include @@ -226,7 +227,7 @@ tlsbattach(parent, self, aux) */ 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