vm: minimum and maximum zone IDs are now defined in arch/../vm.h

This commit is contained in:
2023-05-07 21:38:08 +01:00
parent ad2ce0b2ab
commit 9f3c080e41
4 changed files with 12 additions and 5 deletions

View File

@@ -56,12 +56,12 @@ enum vm_flags {
enum vm_zone_id {
/* NOTE that these are used as indices into the node_zones array in vm/zone.c
they need to be continuous, and must start at 0! */
they need to be continuous, and must start at 0!
not all of these zones are implemented for every architecture. */
VM_ZONE_DMA = 0u,
VM_ZONE_NORMAL = 1u,
VM_ZONE_HIGHMEM = 2u,
VM_ZONE_MIN = VM_ZONE_DMA,
VM_ZONE_MAX = VM_ZONE_HIGHMEM,
};
enum vm_page_order {