Module Name: src
Committed By: ryo
Date: Tue Jul 17 09:58:14 UTC 2018
Modified Files:
src/sys/arch/aarch64/aarch64: pmap.c
Log Message:
Use __debugused
To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/sys/arch/aarch64/aarch64/pmap.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/aarch64/aarch64/pmap.c
diff -u src/sys/arch/aarch64/aarch64/pmap.c:1.9 src/sys/arch/aarch64/aarch64/pmap.c:1.10
--- src/sys/arch/aarch64/aarch64/pmap.c:1.9 Tue Jul 17 00:33:32 2018
+++ src/sys/arch/aarch64/aarch64/pmap.c Tue Jul 17 09:58:14 2018
@@ -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 <[email protected]>
@@ -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 @@ static vsize_t
_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;