]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
ramips: restore CONFIG_PAGE_BLOCK_MAX_ORDER=10 for 6.18 22831/head
authorMieczyslaw Nalewaj <namiltd@yahoo.com>
Tue, 7 Apr 2026 17:12:37 +0000 (19:12 +0200)
committerHauke Mehrtens <hauke@hauke-m.de>
Tue, 7 Apr 2026 22:00:24 +0000 (00:00 +0200)
Restore CONFIG_PAGE_BLOCK_MAX_ORDER=10 in ramips 6.18 config fragments
to fix build failures where PAGE_BLOCK_MAX_ORDER was undefined.

Support for Linux 6.18 on ramips 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 ramips 6.18 integration the generic fragment no longer supplied
this option for ramips 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 <namiltd@yahoo.com>
Link: https://github.com/openwrt/openwrt/pull/22831
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
target/linux/ramips/mt7620/config-6.18
target/linux/ramips/mt7621/config-6.18
target/linux/ramips/mt76x8/config-6.18
target/linux/ramips/rt288x/config-6.18
target/linux/ramips/rt305x/config-6.18
target/linux/ramips/rt3883/config-6.18

index 08833b84273ff5188e528a768da1dd948f8ed321..ebd10bc1d5c3ba4c835585547d52b062f4536300 100644 (file)
@@ -158,6 +158,7 @@ CONFIG_OF_GPIO=y
 CONFIG_OF_IRQ=y
 CONFIG_OF_KOBJ=y
 CONFIG_OF_MDIO=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
index 5334552228c957f9d5f7d618f2e5c54477e8e437..7a9de879d145c8dc8eb273c9933d45dcff66d801 100644 (file)
@@ -210,6 +210,7 @@ CONFIG_OF_IRQ=y
 CONFIG_OF_KOBJ=y
 CONFIG_OF_MDIO=y
 CONFIG_PADATA=y
+CONFIG_PAGE_BLOCK_MAX_ORDER=10
 CONFIG_PAGE_POOL=y
 CONFIG_PAGE_POOL_STATS=y
 CONFIG_PAGE_SIZE_LESS_THAN_256KB=y
index 8504ba20edcbce709df590bad19898b37b2aef3e..9ea3312102a9bea50ee53042c34e904c7af053eb 100644 (file)
@@ -148,6 +148,7 @@ CONFIG_OF_GPIO=y
 CONFIG_OF_IRQ=y
 CONFIG_OF_KOBJ=y
 CONFIG_OF_MDIO=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
index 295ca07b2bee3c1e3ba1b7e4f6d39739a8f73aae..120e1bed2769dfbf1985cf8c843eb03140a78580 100644 (file)
@@ -141,6 +141,7 @@ CONFIG_OF_GPIO=y
 CONFIG_OF_IRQ=y
 CONFIG_OF_KOBJ=y
 CONFIG_OF_MDIO=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
index 0192bce8fad76489e108c47648cbd3a3a6a23bc5..0cf46fd4490ba1b9aabfa87af1a9ef83f72469f6 100644 (file)
@@ -141,6 +141,7 @@ CONFIG_OF_GPIO=y
 CONFIG_OF_IRQ=y
 CONFIG_OF_KOBJ=y
 CONFIG_OF_MDIO=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
index 0085cb203c8166012d42933720e02e4c5827fa5d..9345d27d186e336968d343108db204b6c2d8b481 100644 (file)
@@ -139,6 +139,7 @@ CONFIG_OF_GPIO=y
 CONFIG_OF_IRQ=y
 CONFIG_OF_KOBJ=y
 CONFIG_OF_MDIO=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