From 0f17016962ed4737be9d8dd74baa748f9e7d9bbb Mon Sep 17 00:00:00 2001 From: Mieczyslaw Nalewaj Date: Wed, 8 Apr 2026 12:08:34 +0200 Subject: [PATCH] malta: restore CONFIG_PAGE_BLOCK_MAX_ORDER=10 for 6.18 Restore CONFIG_PAGE_BLOCK_MAX_ORDER=10 in malta 6.18 config fragments to fix build failures where PAGE_BLOCK_MAX_ORDER was undefined. Support for Linux 6.18 on malta was added after this OpenWrt change: https://github.com/openwrt/openwrt/commit/ac0cb87a453698efc6c812e4f27cadbeb208f14e. Before that integration, the kernel option CONFIG_PAGE_BLOCK_MAX_ORDER=10 was provided in target/linux/generic/config-6.18 and applied broadly. After the malta 6.18 integration the generic fragment no longer supplied this option for malta targets, which caused some backported code paths and drivers to assume PAGE_BLOCK_MAX_ORDER was defined and led to compilation failures. Signed-off-by: Mieczyslaw Nalewaj Link: https://github.com/openwrt/openwrt/pull/22843 Signed-off-by: Robert Marko --- target/linux/malta/config-6.18 | 1 + 1 file changed, 1 insertion(+) diff --git a/target/linux/malta/config-6.18 b/target/linux/malta/config-6.18 index e424cb813e9..7bc9073d0c3 100644 --- a/target/linux/malta/config-6.18 +++ b/target/linux/malta/config-6.18 @@ -180,6 +180,7 @@ CONFIG_OF_GPIO=y CONFIG_OF_IRQ=y CONFIG_OF_KOBJ=y CONFIG_PADATA=y +CONFIG_PAGE_BLOCK_MAX_ORDER=10 CONFIG_PAGE_POOL=y CONFIG_PAGE_SIZE_LESS_THAN_256KB=y CONFIG_PAGE_SIZE_LESS_THAN_64KB=y