Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/powerpc/oea Backout previous and fix the correct ma...
details: https://anonhg.NetBSD.org/src/rev/77d52b8790dc
branches: trunk
changeset: 361611:77d52b8790dc
user: martin <martin%NetBSD.org@localhost>
date: Fri Feb 18 19:04:52 2022 +0000
description:
Backout previous and fix the correct macro magic
diffstat:
sys/arch/powerpc/oea/pmap.c | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
diffs (43 lines):
diff -r d92e61b91c09 -r 77d52b8790dc sys/arch/powerpc/oea/pmap.c
--- a/sys/arch/powerpc/oea/pmap.c Fri Feb 18 18:58:15 2022 +0000
+++ b/sys/arch/powerpc/oea/pmap.c Fri Feb 18 19:04:52 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pmap.c,v 1.110 2022/02/18 18:58:15 martin Exp $ */
+/* $NetBSD: pmap.c,v 1.111 2022/02/18 19:04:52 martin Exp $ */
/*-
* Copyright (c) 2001 The NetBSD Foundation, Inc.
* All rights reserved.
@@ -63,7 +63,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.110 2022/02/18 18:58:15 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.111 2022/02/18 19:04:52 martin Exp $");
#define PMAP_NOOPNAMES
@@ -162,6 +162,7 @@
#define pmap_protect PMAPNAME(protect)
#define pmap_unwire PMAPNAME(unwire)
#define pmap_page_protect PMAPNAME(page_protect)
+#define pmap_pv_protect PMAPNAME(pv_protect)
#define pmap_query_bit PMAPNAME(query_bit)
#define pmap_clear_bit PMAPNAME(clear_bit)
@@ -214,7 +215,7 @@
STATIC void pmap_protect(pmap_t, vaddr_t, vaddr_t, vm_prot_t);
STATIC void pmap_unwire(pmap_t, vaddr_t);
STATIC void pmap_page_protect(struct vm_page *, vm_prot_t);
-void pmap_pv_protect(paddr_t, vm_prot_t);
+STATIC void pmap_pv_protect(paddr_t, vm_prot_t);
STATIC bool pmap_query_bit(struct vm_page *, int);
STATIC bool pmap_clear_bit(struct vm_page *, int);
@@ -258,6 +259,7 @@
.pmapop_protect = pmap_protect,
.pmapop_unwire = pmap_unwire,
.pmapop_page_protect = pmap_page_protect,
+ .pmapop_pv_protect = pmap_pv_protect,
.pmapop_query_bit = pmap_query_bit,
.pmapop_clear_bit = pmap_clear_bit,
.pmapop_activate = pmap_activate,
Home |
Main Index |
Thread Index |
Old Index