Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/uvm Put back VM_PAGE_TO_MD(); pointed out by skrll@, tha...



details:   https://anonhg.NetBSD.org/src/rev/da130e5875d9
branches:  trunk
changeset: 759044:da130e5875d9
user:      uebayasi <uebayasi%NetBSD.org@localhost>
date:      Fri Nov 26 00:45:27 2010 +0000

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

diffstat:

 sys/uvm/uvm_page.h |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r b6723cb217b6 -r da130e5875d9 sys/uvm/uvm_page.h
--- a/sys/uvm/uvm_page.h        Thu Nov 25 22:08:49 2010 +0000
+++ b/sys/uvm/uvm_page.h        Fri Nov 26 00:45:27 2010 +0000
@@ -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.
  */



Home | Main Index | Thread Index | Old Index