Skip to content

Commit 5213918

Browse files
namiltdhauke
authored andcommitted
ramips: restore CONFIG_PAGE_BLOCK_MAX_ORDER=10 for 6.18
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: openwrt/openwrt@ac0cb87. 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: openwrt/openwrt#22831 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
1 parent db68b8c commit 5213918

6 files changed

Lines changed: 6 additions & 0 deletions

File tree

target/linux/ramips/mt7620/config-6.18

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,7 @@ CONFIG_OF_GPIO=y
158158
CONFIG_OF_IRQ=y
159159
CONFIG_OF_KOBJ=y
160160
CONFIG_OF_MDIO=y
161+
CONFIG_PAGE_BLOCK_MAX_ORDER=10
161162
CONFIG_PAGE_POOL=y
162163
CONFIG_PAGE_SIZE_LESS_THAN_256KB=y
163164
CONFIG_PAGE_SIZE_LESS_THAN_64KB=y

target/linux/ramips/mt7621/config-6.18

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -210,6 +210,7 @@ CONFIG_OF_IRQ=y
210210
CONFIG_OF_KOBJ=y
211211
CONFIG_OF_MDIO=y
212212
CONFIG_PADATA=y
213+
CONFIG_PAGE_BLOCK_MAX_ORDER=10
213214
CONFIG_PAGE_POOL=y
214215
CONFIG_PAGE_POOL_STATS=y
215216
CONFIG_PAGE_SIZE_LESS_THAN_256KB=y

target/linux/ramips/mt76x8/config-6.18

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,7 @@ CONFIG_OF_GPIO=y
148148
CONFIG_OF_IRQ=y
149149
CONFIG_OF_KOBJ=y
150150
CONFIG_OF_MDIO=y
151+
CONFIG_PAGE_BLOCK_MAX_ORDER=10
151152
CONFIG_PAGE_POOL=y
152153
CONFIG_PAGE_SIZE_LESS_THAN_256KB=y
153154
CONFIG_PAGE_SIZE_LESS_THAN_64KB=y

target/linux/ramips/rt288x/config-6.18

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,7 @@ CONFIG_OF_GPIO=y
141141
CONFIG_OF_IRQ=y
142142
CONFIG_OF_KOBJ=y
143143
CONFIG_OF_MDIO=y
144+
CONFIG_PAGE_BLOCK_MAX_ORDER=10
144145
CONFIG_PAGE_POOL=y
145146
CONFIG_PAGE_SIZE_LESS_THAN_256KB=y
146147
CONFIG_PAGE_SIZE_LESS_THAN_64KB=y

target/linux/ramips/rt305x/config-6.18

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,7 @@ CONFIG_OF_GPIO=y
141141
CONFIG_OF_IRQ=y
142142
CONFIG_OF_KOBJ=y
143143
CONFIG_OF_MDIO=y
144+
CONFIG_PAGE_BLOCK_MAX_ORDER=10
144145
CONFIG_PAGE_POOL=y
145146
CONFIG_PAGE_SIZE_LESS_THAN_256KB=y
146147
CONFIG_PAGE_SIZE_LESS_THAN_64KB=y

target/linux/ramips/rt3883/config-6.18

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,7 @@ CONFIG_OF_GPIO=y
139139
CONFIG_OF_IRQ=y
140140
CONFIG_OF_KOBJ=y
141141
CONFIG_OF_MDIO=y
142+
CONFIG_PAGE_BLOCK_MAX_ORDER=10
142143
CONFIG_PAGE_POOL=y
143144
CONFIG_PAGE_SIZE_LESS_THAN_256KB=y
144145
CONFIG_PAGE_SIZE_LESS_THAN_64KB=y

0 commit comments

Comments
 (0)