[openwrt/openwrt] bpf-headers: support CONFIG_HZ=300

LEDE Commits lede-commits at lists.infradead.org
Fri Apr 1 06:26:24 PDT 2022


nbd pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/72b93b77a5b406d0a32740d3a000218e19451460

commit 72b93b77a5b406d0a32740d3a000218e19451460
Author: Felix Fietkau <nbd at nbd.name>
AuthorDate: Fri Mar 25 12:14:40 2022 +0100

    bpf-headers: support CONFIG_HZ=300
    
    Signed-off-by: Felix Fietkau <nbd at nbd.name>
---
 .../bpf-headers/patches/100-support_hz_300.patch     | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/package/kernel/bpf-headers/patches/100-support_hz_300.patch b/package/kernel/bpf-headers/patches/100-support_hz_300.patch
new file mode 100644
index 0000000000..9629958598
--- /dev/null
+++ b/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
+ 




More information about the lede-commits mailing list