reduce the size of ppage by 8 bytes using signly linked list
[lunaix-os.git] / lunaix-os / includes / lunaix / mm / physical.h
index 3eac5a1c1d28f0c132c19809e4b6f7049a979d99..bb15e6cf5008cea076810cccf437aef8cc533daf 100644 (file)
@@ -2,7 +2,8 @@
 #define __LUNAIX_PHYSICAL_H
 
 #include <lunaix/compiler.h>
-#include <sys/mm/physical.h>
+#include <asm/physical.h>
+#include <lunaix/ds/list.h>
 
 /**
  * @brief 长久页:不会被缓存,但允许释放
@@ -45,7 +46,7 @@ struct ppage
     };
     unsigned short companion;
     
-    struct llist_header sibs;
+    struct list_node sibs;
 
     struct ppage_arch arch;
 } align(16);