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 atomic_add_16() is not used in pmap...



details:   https://anonhg.NetBSD.org/src/rev/0e19a2114a3d
branches:  trunk
changeset: 847325:0e19a2114a3d
user:      ryo <ryo%NetBSD.org@localhost>
date:      Wed Dec 18 11:10:24 2019 +0000

description:
atomic_add_16() is not used in pmap.c anymore. no need decl here.

diffstat:

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

diffs (28 lines):

diff -r 23f7d83ea55d -r 0e19a2114a3d sys/arch/aarch64/aarch64/pmap.c
--- a/sys/arch/aarch64/aarch64/pmap.c   Wed Dec 18 11:06:42 2019 +0000
+++ b/sys/arch/aarch64/aarch64/pmap.c   Wed Dec 18 11:10:24 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pmap.c,v 1.54 2019/12/18 11:06:42 ryo Exp $    */
+/*     $NetBSD: pmap.c,v 1.55 2019/12/18 11:10:24 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.54 2019/12/18 11:06:42 ryo Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.55 2019/12/18 11:10:24 ryo Exp $");
 
 #include "opt_arm_debug.h"
 #include "opt_ddb.h"
@@ -195,9 +195,6 @@
 #define L3INDEXMASK    (L3_SIZE * Ln_ENTRIES - 1)
 #define PDPSWEEP_TRIGGER       512
 
-void atomic_add_16(volatile uint16_t *, int16_t);
-uint16_t atomic_add_16_nv(volatile uint16_t *, int16_t);
-
 static pt_entry_t *_pmap_pte_lookup_l3(struct pmap *, vaddr_t);
 static pt_entry_t *_pmap_pte_lookup_bs(struct pmap *, vaddr_t, vsize_t *);
 static pt_entry_t _pmap_pte_adjust_prot(pt_entry_t, vm_prot_t, vm_prot_t, bool);



Home | Main Index | Thread Index | Old Index