Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/aarch64/aarch64 Need to call pmap_tlb_info_attach f...



details:   https://anonhg.NetBSD.org/src/rev/0d6957fe6dea
branches:  trunk
changeset: 1024102:0d6957fe6dea
user:      skrll <skrll%NetBSD.org@localhost>
date:      Sun Oct 10 07:41:21 2021 +0000

description:
Need to call pmap_tlb_info_attach for each CPU.  Missed in previous
commit.
CVS ----------------------------------------------------------------------

diffstat:

 sys/arch/aarch64/aarch64/cpu.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r effddaa91bf3 -r 0d6957fe6dea sys/arch/aarch64/aarch64/cpu.c
--- a/sys/arch/aarch64/aarch64/cpu.c    Sun Oct 10 07:20:01 2021 +0000
+++ b/sys/arch/aarch64/aarch64/cpu.c    Sun Oct 10 07:41:21 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: cpu.c,v 1.62 2021/10/04 09:39:18 skrll Exp $ */
+/* $NetBSD: cpu.c,v 1.63 2021/10/10 07:41:21 skrll Exp $ */
 
 /*
  * Copyright (c) 2017 Ryo Shimizu <ryo%nerv.org@localhost>
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(1, "$NetBSD: cpu.c,v 1.62 2021/10/04 09:39:18 skrll Exp $");
+__KERNEL_RCSID(1, "$NetBSD: cpu.c,v 1.63 2021/10/10 07:41:21 skrll Exp $");
 
 #include "locators.h"
 #include "opt_arm_debug.h"
@@ -153,6 +153,7 @@
 #ifdef MULTIPROCESSOR
        if (unit != 0) {
                mi_cpu_attach(ci);
+               pmap_tlb_info_attach(&pmap_tlb0_info, ci);
                return;
        }
 #endif /* MULTIPROCESSOR */



Home | Main Index | Thread Index | Old Index