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 fix non-MULTIPROCESSOR build



details:   https://anonhg.NetBSD.org/src/rev/d4ca6dbaea6c
branches:  trunk
changeset: 1024280:d4ca6dbaea6c
user:      ryo <ryo%NetBSD.org@localhost>
date:      Sat Oct 16 06:34:30 2021 +0000

description:
fix non-MULTIPROCESSOR build

diffstat:

 sys/arch/aarch64/aarch64/pmap.c |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (32 lines):

diff -r cd6207abb1cf -r d4ca6dbaea6c sys/arch/aarch64/aarch64/pmap.c
--- a/sys/arch/aarch64/aarch64/pmap.c   Sat Oct 16 06:02:18 2021 +0000
+++ b/sys/arch/aarch64/aarch64/pmap.c   Sat Oct 16 06:34:30 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pmap.c,v 1.117 2021/10/10 07:15:25 skrll Exp $ */
+/*     $NetBSD: pmap.c,v 1.118 2021/10/16 06:34:30 ryo Exp $   */
 
 /*
  * Copyright (c) 2017 Ryo Shimizu <ryo%nerv.org@localhost>
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.117 2021/10/10 07:15:25 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.118 2021/10/16 06:34:30 ryo Exp $");
 
 #include "opt_arm_debug.h"
 #include "opt_ddb.h"
@@ -498,11 +498,13 @@
        CTASSERT(sizeof(kpm->pm_stats.resident_count) == sizeof(long));
 }
 
+#ifdef MULTIPROCESSOR
 void
 pmap_md_tlb_info_attach(struct pmap_tlb_info *ti, struct cpu_info *ci)
 {
        /* nothing */
 }
+#endif /* MULTIPROCESSOR */
 
 static inline void
 _pmap_adj_wired_count(struct pmap *pm, int adj)



Home | Main Index | Thread Index | Old Index