openwrt/package/kernel/bpf-headers/patches/100-support_hz_300.patch
Felix Fietkau 72b93b77a5 bpf-headers: support CONFIG_HZ=300
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2022-04-01 15:26:08 +02:00

21 lines
486 B
Diff

--- a/arch/mips/Kconfig
+++ b/arch/mips/Kconfig
@@ -2988,6 +2988,9 @@ choice
config HZ_256
bool "256 HZ" if SYS_SUPPORTS_256HZ || SYS_SUPPORTS_ARBIT_HZ
+ config HZ_300
+ bool "300 HZ" if SYS_SUPPORTS_ARBIT_HZ
+
config HZ_1000
bool "1000 HZ" if SYS_SUPPORTS_1000HZ || SYS_SUPPORTS_ARBIT_HZ
@@ -3039,6 +3042,7 @@ config HZ
default 128 if HZ_128
default 250 if HZ_250
default 256 if HZ_256
+ default 300 if HZ_300
default 1000 if HZ_1000
default 1024 if HZ_1024