Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/uebayasi-xip]: src/sys/uvm Use VM_PROT_* instead of PROT_* in UVM.
details: https://anonhg.NetBSD.org/src/rev/769043057619
branches: uebayasi-xip
changeset: 751753:769043057619
user: uebayasi <uebayasi%NetBSD.org@localhost>
date: Tue Jul 27 01:47:43 2010 +0000
description:
Use VM_PROT_* instead of PROT_* in UVM.
diffstat:
sys/uvm/uvm_page.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 3b7de109b5fd -r 769043057619 sys/uvm/uvm_page.c
--- a/sys/uvm/uvm_page.c Tue Jul 27 00:50:30 2010 +0000
+++ b/sys/uvm/uvm_page.c Tue Jul 27 01:47:43 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: uvm_page.c,v 1.153.2.50 2010/07/26 10:11:39 uebayasi Exp $ */
+/* $NetBSD: uvm_page.c,v 1.153.2.51 2010/07/27 01:47:43 uebayasi Exp $ */
/*
* Copyright (c) 2010 The NetBSD Foundation, Inc.
@@ -97,7 +97,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: uvm_page.c,v 1.153.2.50 2010/07/26 10:11:39 uebayasi Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uvm_page.c,v 1.153.2.51 2010/07/27 01:47:43 uebayasi Exp $");
#include "opt_ddb.h"
#include "opt_uvmhist.h"
@@ -865,7 +865,7 @@
pg->phys_addr = paddr;
pg->flags |= PG_FAKE | PG_CLEAN;
- if (prot == PROT_READ)
+ if (prot == VM_PROT_READ)
pg->flags |= PG_RDONLY;
pg->pqflags = PQ_FIXED;
#ifdef __HAVE_VM_PAGE_MD
Home |
Main Index |
Thread Index |
Old Index