From 08d79df7d540f6c68c0437717ba9afbfd88872ba Mon Sep 17 00:00:00 2001 From: jsg Date: Mon, 6 May 2024 01:42:05 +0000 Subject: [PATCH] add NR_PAGE_ORDERS for 6.6.30 drm --- sys/dev/pci/drm/include/linux/mmzone.h | 1 + 1 file changed, 1 insertion(+) 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 #define MAX_ORDER 11 +#define NR_PAGE_ORDERS (MAX_ORDER + 1) #define pfn_to_nid(x) 0 #endif -- 2.20.1