Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/uebayasi-xip]: src/sys/arch/arm Missing bits of pmap_is_page_colored_p()...
details: https://anonhg.NetBSD.org/src/rev/e4a47f69bd98
branches: uebayasi-xip
changeset: 751561:e4a47f69bd98
user: uebayasi <uebayasi%NetBSD.org@localhost>
date: Wed Feb 10 14:20:23 2010 +0000
description:
Missing bits of pmap_is_page_colored_p() conversion.
diffstat:
sys/arch/arm/arm32/mem.c | 6 +++---
sys/arch/arm/include/arm32/pmap.h | 6 +++---
2 files changed, 6 insertions(+), 6 deletions(-)
diffs (47 lines):
diff -r c817a0650467 -r e4a47f69bd98 sys/arch/arm/arm32/mem.c
--- a/sys/arch/arm/arm32/mem.c Wed Feb 10 14:18:30 2010 +0000
+++ b/sys/arch/arm/arm32/mem.c Wed Feb 10 14:20:23 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: mem.c,v 1.26 2008/11/19 06:24:04 matt Exp $ */
+/* $NetBSD: mem.c,v 1.26.6.1 2010/02/10 14:20:23 uebayasi Exp $ */
/*
* Copyright (c) 1982, 1986, 1990, 1993
@@ -76,7 +76,7 @@
#include "opt_compat_netbsd.h"
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: mem.c,v 1.26 2008/11/19 06:24:04 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: mem.c,v 1.26.6.1 2010/02/10 14:20:23 uebayasi Exp $");
#include <sys/param.h>
#include <sys/conf.h>
@@ -144,7 +144,7 @@
{
struct vm_page *pg;
pg = PHYS_TO_VM_PAGE(trunc_page(v));
- if (pg != NULL && pmap_is_page_colored_p(pg))
+ if (pg != NULL && pmap_is_page_colored_p(&pg->mdpage))
o = pg->mdpage.pvh_attrs;
else
o = v;
diff -r c817a0650467 -r e4a47f69bd98 sys/arch/arm/include/arm32/pmap.h
--- a/sys/arch/arm/include/arm32/pmap.h Wed Feb 10 14:18:30 2010 +0000
+++ b/sys/arch/arm/include/arm32/pmap.h Wed Feb 10 14:20:23 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pmap.h,v 1.94 2009/12/27 05:14:56 uebayasi Exp $ */
+/* $NetBSD: pmap.h,v 1.94.2.1 2010/02/10 14:20:23 uebayasi Exp $ */
/*
* Copyright (c) 2002, 2003 Wasabi Systems, Inc.
@@ -272,8 +272,8 @@
(((pg)->mdpage.pvh_attrs & PVF_MOD) != 0)
#define pmap_is_referenced(pg) \
(((pg)->mdpage.pvh_attrs & PVF_REF) != 0)
-#define pmap_is_page_colored_p(pg) \
- (((pg)->mdpage.pvh_attrs & PVF_COLORED) != 0)
+#define pmap_is_page_colored_p(md) \
+ (((md)->pvh_attrs & PVF_COLORED) != 0)
#define pmap_copy(dp, sp, da, l, sa) /* nothing */
Home |
Main Index |
Thread Index |
Old Index