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 Use __debugused



details:   https://anonhg.NetBSD.org/src/rev/70bd7141d6d1
branches:  trunk
changeset: 324740:70bd7141d6d1
user:      ryo <ryo%NetBSD.org@localhost>
date:      Tue Jul 17 09:58:14 2018 +0000

description:
Use __debugused

diffstat:

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

diffs (27 lines):

diff -r 12e6301f0933 -r 70bd7141d6d1 sys/arch/aarch64/aarch64/pmap.c
--- a/sys/arch/aarch64/aarch64/pmap.c   Tue Jul 17 06:13:08 2018 +0000
+++ b/sys/arch/aarch64/aarch64/pmap.c   Tue Jul 17 09:58:14 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pmap.c,v 1.9 2018/07/17 00:33:32 christos Exp $        */
+/*     $NetBSD: pmap.c,v 1.10 2018/07/17 09:58:14 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.9 2018/07/17 00:33:32 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.10 2018/07/17 09:58:14 ryo Exp $");
 
 #include "opt_arm_debug.h"
 #include "opt_ddb.h"
@@ -235,7 +235,7 @@
 _pmap_map_chunk(pd_entry_t *l2, vaddr_t va, paddr_t pa, vsize_t size,
     vm_prot_t prot, u_int flags)
 {
-       pd_entry_t oldpte;
+       pd_entry_t oldpte __debugused;
        pt_entry_t attr;
        vsize_t resid;
 



Home | Main Index | Thread Index | Old Index