Source-Changes-HG archive

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

[src/uebayasi-xip]: src/sys/uvm Move MD member in struct vm_physseg to the ta...



details:   https://anonhg.NetBSD.org/src/rev/afefc03bda37
branches:  uebayasi-xip
changeset: 751851:afefc03bda37
user:      uebayasi <uebayasi%NetBSD.org@localhost>
date:      Fri Nov 12 08:13:40 2010 +0000

description:
Move MD member in struct vm_physseg to the tail, in case this struct
can be shared among architectures with only difference of the MD
part.

diffstat:

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

diffs (29 lines):

diff -r 726199c43b8f -r afefc03bda37 sys/uvm/uvm_page.h
--- a/sys/uvm/uvm_page.h        Thu Nov 11 16:22:25 2010 +0000
+++ b/sys/uvm/uvm_page.h        Fri Nov 12 08:13:40 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: uvm_page.h,v 1.59.2.34 2010/11/10 08:59:12 uebayasi Exp $      */
+/*     $NetBSD: uvm_page.h,v 1.59.2.35 2010/11/12 08:13:40 uebayasi Exp $      */
 
 /*
  * Copyright (c) 1997 Charles D. Cranor and Washington University.
@@ -241,15 +241,15 @@
        int     free_list;              /* which free list they belong on */
        struct  vm_page *pgs;           /* vm_page structures (from start) */
        struct  vm_page *endpg;         /* vm_page structure for end */
-
-#ifdef __HAVE_PMAP_PHYSSEG
-       struct  pmap_physseg pmseg;     /* pmap specific (MD) data */
-#endif
        SIMPLEQ_ENTRY(vm_physseg) list;
 
        /* device properties */
        int     prot;                   /* protection of device region */
        int     flags;                  /* XXXUEBS BUS_SPACE_MAP_* */
+
+#ifdef __HAVE_PMAP_PHYSSEG
+       struct  pmap_physseg pmseg;     /* pmap specific (MD) data */
+#endif
 };
 
 #ifdef _KERNEL



Home | Main Index | Thread Index | Old Index