summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2024-05-06 01:42:06 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2024-05-06 01:42:06 +0000
commite635f55e4eed1fa721533562a99837910434a96f (patch)
tree305318a9fb2df9d7f449d96be0a2765b3b165108 /sys/dev
parente3950cfbdad9f5397a85fe0d1c25079a29ea00a5 (diff)
add NR_PAGE_ORDERS for 6.6.30 drm
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/pci/drm/include/linux/mmzone.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/pci/drm/include/linux/mmzone.h b/sys/dev/pci/drm/include/linux/mmzone.h
index 8d6492e7fa5..65547c1c86c 100644
--- a/sys/dev/pci/drm/include/linux/mmzone.h
+++ b/sys/dev/pci/drm/include/linux/mmzone.h
@@ -7,6 +7,7 @@
#include <linux/nodemask.h>
#define MAX_ORDER 11
+#define NR_PAGE_ORDERS (MAX_ORDER + 1)
#define pfn_to_nid(x) 0
#endif