Second Extended Filesystem (ext2) and other improvements (#33)
[lunaix-os.git] / lunaix-os / includes / lunaix / mm / pmm.h
index b5dcb971c796889d5a325d1393bcc4881853dfea..bd55eb1e46435d4140a03318d496696b75a06cbf 100644 (file)
@@ -87,7 +87,7 @@ ppage_addr(struct ppage* page) {
 
 static inline unsigned int
 count_order(size_t page_count) {
 
 static inline unsigned int
 count_order(size_t page_count) {
-    unsigned int po = ILOG2(page_count);
+    unsigned int po = ilog2(page_count);
     assert(!(page_count % (1 << po)));
     return po;
 }
     assert(!(page_count % (1 << po)));
     return po;
 }