Module Name:    src
Committed By:   uebayasi
Date:           Tue Jul 27 01:47:43 UTC 2010

Modified Files:
        src/sys/uvm [uebayasi-xip]: uvm_page.c

Log Message:
Use VM_PROT_* instead of PROT_* in UVM.


To generate a diff of this commit:
cvs rdiff -u -r1.153.2.50 -r1.153.2.51 src/sys/uvm/uvm_page.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/uvm/uvm_page.c
diff -u src/sys/uvm/uvm_page.c:1.153.2.50 src/sys/uvm/uvm_page.c:1.153.2.51
--- src/sys/uvm/uvm_page.c:1.153.2.50	Mon Jul 26 10:11:39 2010
+++ src/sys/uvm/uvm_page.c	Tue Jul 27 01:47:43 2010
@@ -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

Reply via email to