Module Name: src Committed By: uebayasi Date: Fri Nov 12 08:13:40 UTC 2010
Modified Files: src/sys/uvm [uebayasi-xip]: uvm_page.h Log Message: 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. To generate a diff of this commit: cvs rdiff -u -r1.59.2.34 -r1.59.2.35 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.59.2.34 src/sys/uvm/uvm_page.h:1.59.2.35 --- src/sys/uvm/uvm_page.h:1.59.2.34 Wed Nov 10 08:59:12 2010 +++ src/sys/uvm/uvm_page.h Fri Nov 12 08:13:40 2010 @@ -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