Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/vax/vax vax: Remove a vestige from before the devic...
details: https://anonhg.NetBSD.org/src/rev/d7c08ac08846
branches: trunk
changeset: 361120:d7c08ac08846
user: riastradh <riastradh%NetBSD.org@localhost>
date: Fri Feb 11 17:26:55 2022 +0000
description:
vax: Remove a vestige from before the device_t/softc split.
Verified MicroVAX 4000/96 still boots.
cpu0 at mainbus0: KA49, NVAX, 10KB L1 cache, 256KB L2 cache
diffstat:
sys/arch/vax/vax/pmap.c | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
diffs (28 lines):
diff -r 17893fc8dff3 -r d7c08ac08846 sys/arch/vax/vax/pmap.c
--- a/sys/arch/vax/vax/pmap.c Fri Feb 11 16:33:18 2022 +0000
+++ b/sys/arch/vax/vax/pmap.c Fri Feb 11 17:26:55 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pmap.c,v 1.193 2021/10/12 08:36:28 andvar Exp $ */
+/* $NetBSD: pmap.c,v 1.194 2022/02/11 17:26:55 riastradh Exp $ */
/*
* Copyright (c) 1994, 1998, 1999, 2003 Ludd, University of Lule}, Sweden.
* All rights reserved.
@@ -25,7 +25,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.193 2021/10/12 08:36:28 andvar Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.194 2022/02/11 17:26:55 riastradh Exp $");
#include "opt_ddb.h"
#include "opt_cputype.h"
@@ -397,8 +397,7 @@
ci = (struct cpu_info *) scratch;
lwp0.l_cpu = ci;
ci->ci_istack = istack;
- memset(ci, 0, sizeof(struct cpu_info) + sizeof(struct device));
- ci->ci_dev = (void *)(ci + 1);
+ memset(ci, 0, sizeof(*ci));
#if defined(MULTIPROCESSOR)
ci->ci_curlwp = &lwp0;
ci->ci_flags = CI_MASTERCPU|CI_RUNNING;
Home |
Main Index |
Thread Index |
Old Index