Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/mips/mips Initialise ci_pmap_kern_segtab in cpu_inf...
details: https://anonhg.NetBSD.org/src/rev/a77fdb4dce5e
branches: trunk
changeset: 347221:a77fdb4dce5e
user: skrll <skrll%NetBSD.org@localhost>
date: Thu Aug 18 14:39:04 2016 +0000
description:
Initialise ci_pmap_kern_segtab in cpu_info_alloc
diffstat:
sys/arch/mips/mips/cpu_subr.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (26 lines):
diff -r 95103348653a -r a77fdb4dce5e sys/arch/mips/mips/cpu_subr.c
--- a/sys/arch/mips/mips/cpu_subr.c Thu Aug 18 13:46:58 2016 +0000
+++ b/sys/arch/mips/mips/cpu_subr.c Thu Aug 18 14:39:04 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: cpu_subr.c,v 1.27 2016/07/11 16:15:36 matt Exp $ */
+/* $NetBSD: cpu_subr.c,v 1.28 2016/08/18 14:39:04 skrll Exp $ */
/*-
* Copyright (c) 2010 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: cpu_subr.c,v 1.27 2016/07/11 16:15:36 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: cpu_subr.c,v 1.28 2016/08/18 14:39:04 skrll Exp $");
#include "opt_ddb.h"
#include "opt_cputype.h"
@@ -181,6 +181,7 @@
KASSERT(cpu_id != 0);
ci->ci_cpuid = cpu_id;
+ ci->ci_pmap_kern_segtab = &pmap_kern_segtab,
ci->ci_data.cpu_package_id = cpu_package_id;
ci->ci_data.cpu_core_id = cpu_core_id;
ci->ci_data.cpu_smt_id = cpu_smt_id;
Home |
Main Index |
Thread Index |
Old Index