Enable R2 to R6 emulator by default
authorYunQiang Su <syq@debian.org>
Mon, 14 May 2018 08:16:18 +0000 (16:16 +0800)
committerSalvatore Bonaccorso <carnil@debian.org>
Tue, 6 May 2025 19:33:52 +0000 (21:33 +0200)
Forwarded: not-needed

In upstream code, 'mipsr2emu' kernel option is needed
to enable R2 to R6 emulator.  Since we need r6 kernel
for our r2 port, let's always enable it.

Gbp-Pq: Topic debian
Gbp-Pq: Name mips-enable-r2-to-r6-emu-by-default.patch

arch/mips/kernel/mips-r2-to-r6-emul.c

index 750fe569862b634afc22a80bdc6907d97ab0bb07..db20d73d954b0643bdc7e0dafff92f6f50a629be 100644 (file)
@@ -56,7 +56,7 @@ extern const unsigned int fpucondbit[8];
 
 #define MIPS_R2_EMUL_TOTAL_PASS        10
 
-int mipsr2_emulation = 0;
+int mipsr2_emulation = 1;
 
 static int __init mipsr2emu_enable(char *s)
 {