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 delete unused code
details: https://anonhg.NetBSD.org/src/rev/171d8b3d6a26
branches: trunk
changeset: 832094:171d8b3d6a26
user: ryo <ryo%NetBSD.org@localhost>
date: Sun Apr 29 12:05:39 2018 +0000
description:
delete unused code
diffstat:
sys/arch/aarch64/aarch64/pmap.c | 11 ++---------
1 files changed, 2 insertions(+), 9 deletions(-)
diffs (32 lines):
diff -r da8a8e70d7eb -r 171d8b3d6a26 sys/arch/aarch64/aarch64/pmap.c
--- a/sys/arch/aarch64/aarch64/pmap.c Sun Apr 29 11:51:08 2018 +0000
+++ b/sys/arch/aarch64/aarch64/pmap.c Sun Apr 29 12:05:39 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pmap.c,v 1.3 2018/04/27 08:07:08 ryo Exp $ */
+/* $NetBSD: pmap.c,v 1.4 2018/04/29 12:05:39 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.3 2018/04/27 08:07:08 ryo Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.4 2018/04/29 12:05:39 ryo Exp $");
#include "opt_arm_debug.h"
#include "opt_ddb.h"
@@ -878,13 +878,6 @@
TAILQ_REMOVE(&md->mdpg_pvhead, pv, pv_link);
PMAP_COUNT(pv_remove);
-#if 0
- if ((md->mdpg_kenter == 0) && TAILQ_EMPTY(&md->mdpg_pvhead)){
- /* remove last mapping */
- cpu_dcache_wbinv_range(va, PAGE_SIZE);
- }
-#endif
-
pmap_pv_unlock(md);
pool_cache_put(&_pmap_pv_pool, pv);
Home |
Main Index |
Thread Index |
Old Index