mirror of
https://review.haiku-os.org/haiku
synced 2024-11-23 07:18:40 +01:00
kernel/vm: VMPageQueue's Count should be page_num_t.
It's the same as phys_addr_t anyway, but this clarifies things.
This commit is contained in:
parent
e8dafa5f1a
commit
85d6c163f8
@ -49,7 +49,7 @@ public:
|
||||
inline vm_page* Previous(vm_page* page) const;
|
||||
inline vm_page* Next(vm_page* page) const;
|
||||
|
||||
inline phys_addr_t Count() const { return fCount; }
|
||||
inline page_num_t Count() const { return fCount; }
|
||||
|
||||
inline Iterator GetIterator() const;
|
||||
|
||||
@ -58,7 +58,7 @@ public:
|
||||
protected:
|
||||
const char* fName;
|
||||
spinlock fLock;
|
||||
phys_addr_t fCount;
|
||||
page_num_t fCount;
|
||||
PageList fPages;
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user