Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/x86/x86 Remove unused argment to pmap_remove_pv().



details:   https://anonhg.NetBSD.org/src/rev/718b976b9bef
branches:  trunk
changeset: 466821:718b976b9bef
user:      ad <ad%NetBSD.org@localhost>
date:      Thu Jan 02 21:17:13 2020 +0000

description:
Remove unused argment to pmap_remove_pv().

diffstat:

 sys/arch/x86/x86/pmap.c |  7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diffs (28 lines):

diff -r 118444fabebe -r 718b976b9bef sys/arch/x86/x86/pmap.c
--- a/sys/arch/x86/x86/pmap.c   Thu Jan 02 19:24:48 2020 +0000
+++ b/sys/arch/x86/x86/pmap.c   Thu Jan 02 21:17:13 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pmap.c,v 1.350 2020/01/02 19:20:02 ad Exp $    */
+/*     $NetBSD: pmap.c,v 1.351 2020/01/02 21:17:13 ad Exp $    */
 
 /*
  * Copyright (c) 2008, 2010, 2016, 2017, 2019 The NetBSD Foundation, Inc.
@@ -130,7 +130,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.350 2020/01/02 19:20:02 ad Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.351 2020/01/02 21:17:13 ad Exp $");
 
 #include "opt_user_ldt.h"
 #include "opt_lockdebug.h"
@@ -1972,8 +1972,7 @@
  * => we return the removed pve
  */
 static struct pv_entry *
-pmap_remove_pv(struct pmap *pmap, struct pmap_page *pp, struct vm_page *ptp,
-    vaddr_t va)
+pmap_remove_pv(struct pmap_page *pp, struct vm_page *ptp, vaddr_t va)
 {
        struct pv_entry **hh;
        struct pv_entry *pve;



Home | Main Index | Thread Index | Old Index