Browse Source

bpf-headers: support CONFIG_HZ=300

Signed-off-by: Felix Fietkau <[email protected]>
Felix Fietkau 3 years ago
parent
commit
72b93b77a5
1 changed files with 20 additions and 0 deletions
  1. 20 0
      package/kernel/bpf-headers/patches/100-support_hz_300.patch

+ 20 - 0
package/kernel/bpf-headers/patches/100-support_hz_300.patch

@@ -0,0 +1,20 @@
+--- 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
+