Module Name:    src
Committed By:   uebayasi
Date:           Fri Nov 26 00:45:28 UTC 2010

Modified Files:
        src/sys/uvm: uvm_page.h

Log Message:
Put back VM_PAGE_TO_MD(); pointed out by skrll@, thanks.


To generate a diff of this commit:
cvs rdiff -u -r1.68 -r1.69 src/sys/uvm/uvm_page.h

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.h
diff -u src/sys/uvm/uvm_page.h:1.68 src/sys/uvm/uvm_page.h:1.69
--- src/sys/uvm/uvm_page.h:1.68	Thu Nov 25 04:45:30 2010
+++ src/sys/uvm/uvm_page.h	Fri Nov 26 00:45:27 2010
@@ -1,4 +1,4 @@
-/*	$NetBSD: uvm_page.h,v 1.68 2010/11/25 04:45:30 uebayasi Exp $	*/
+/*	$NetBSD: uvm_page.h,v 1.69 2010/11/26 00:45:27 uebayasi Exp $	*/
 
 /*
  * Copyright (c) 1997 Charles D. Cranor and Washington University.
@@ -306,6 +306,10 @@
 
 #define VM_PAGE_TO_PHYS(entry)	uvm_vm_page_to_phys(entry)
 
+#ifdef __HAVE_VM_PAGE_MD
+#define	VM_PAGE_TO_MD(pg)	(&(pg)->mdpage)
+#endif
+
 /*
  * Compute the page color bucket for a given page.
  */

Reply via email to