add NR_PAGE_ORDERS for 6.6.30 drm
authorjsg <jsg@openbsd.org>
Mon, 6 May 2024 01:42:05 +0000 (01:42 +0000)
committerjsg <jsg@openbsd.org>
Mon, 6 May 2024 01:42:05 +0000 (01:42 +0000)
sys/dev/pci/drm/include/linux/mmzone.h

index 8d6492e..65547c1 100644 (file)
@@ -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