mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-04-16 04:13:31 +00:00
ramips: disable cpu vint and veic to fix hwnat deadlock
This commit is contained in:
parent
b3d4f7194d
commit
b31e3e5593
12
target/linux/ramips/patches-5.10/999-fix-hwnat.patch
Normal file
12
target/linux/ramips/patches-5.10/999-fix-hwnat.patch
Normal file
@ -0,0 +1,12 @@
|
||||
--- a/arch/mips/include/asm/mach-ralink/mt7621/cpu-feature-overrides.h
|
||||
+++ a/arch/mips/include/asm/mach-ralink/mt7621/cpu-feature-overrides.h
|
||||
@@ -47,6 +47,9 @@
|
||||
#define cpu_has_dsp2 0
|
||||
#define cpu_has_mipsmt 1
|
||||
|
||||
+#define cpu_has_vint 0
|
||||
+#define cpu_has_veic 0
|
||||
+
|
||||
#define cpu_has_64bits 0
|
||||
#define cpu_has_64bit_zero_reg 0
|
||||
#define cpu_has_64bit_gp_regs 0
|
12
target/linux/ramips/patches-5.4/999-fix-hwnat.patch
Normal file
12
target/linux/ramips/patches-5.4/999-fix-hwnat.patch
Normal file
@ -0,0 +1,12 @@
|
||||
--- a/arch/mips/include/asm/mach-ralink/mt7621/cpu-feature-overrides.h
|
||||
+++ a/arch/mips/include/asm/mach-ralink/mt7621/cpu-feature-overrides.h
|
||||
@@ -47,6 +47,9 @@
|
||||
#define cpu_has_dsp2 0
|
||||
#define cpu_has_mipsmt 1
|
||||
|
||||
+#define cpu_has_vint 0
|
||||
+#define cpu_has_veic 0
|
||||
+
|
||||
#define cpu_has_64bits 0
|
||||
#define cpu_has_64bit_zero_reg 0
|
||||
#define cpu_has_64bit_gp_regs 0
|
Loading…
Reference in New Issue
Block a user