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 __diagused
details: https://anonhg.NetBSD.org/src/rev/4ee5da86d865
branches: trunk
changeset: 972068:4ee5da86d865
user: skrll <skrll%NetBSD.org@localhost>
date: Fri May 15 05:39:15 2020 +0000
description:
Use __diagused
diffstat:
sys/arch/aarch64/aarch64/pmap.c | 8 +++-----
1 files changed, 3 insertions(+), 5 deletions(-)
diffs (29 lines):
diff -r b32c7de63170 -r 4ee5da86d865 sys/arch/aarch64/aarch64/pmap.c
--- a/sys/arch/aarch64/aarch64/pmap.c Fri May 15 04:55:40 2020 +0000
+++ b/sys/arch/aarch64/aarch64/pmap.c Fri May 15 05:39:15 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pmap.c,v 1.74 2020/05/15 01:43:47 tnn Exp $ */
+/* $NetBSD: pmap.c,v 1.75 2020/05/15 05:39:15 skrll 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.74 2020/05/15 01:43:47 tnn Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.75 2020/05/15 05:39:15 skrll Exp $");
#include "opt_arm_debug.h"
#include "opt_ddb.h"
@@ -622,9 +622,7 @@
pg->flags |= PG_BUSY;
pg->wire_count = 0;
-#ifdef DIAGNOSTIC
- struct pmap_page *pp = VM_PAGE_TO_PP(pg);
-#endif
+ struct pmap_page *pp __diagused = VM_PAGE_TO_PP(pg);
KASSERT(LIST_EMPTY(&pp->pp_pvhead));
uvm_pagefree(pg);
Home |
Main Index |
Thread Index |
Old Index