From: YunQiang Su Date: Mon, 14 May 2018 08:16:18 +0000 (+0800) Subject: Enable R2 to R6 emulator by default X-Git-Tag: archive/raspbian/6.12.27-1+rpi1^2^2~67 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=8eb1a97ffbcf3994b305374646c4fc376fe69d3c;p=linux.git Enable R2 to R6 emulator by default 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 --- diff --git a/arch/mips/kernel/mips-r2-to-r6-emul.c b/arch/mips/kernel/mips-r2-to-r6-emul.c index 750fe569862..db20d73d954 100644 --- a/arch/mips/kernel/mips-r2-to-r6-emul.c +++ b/arch/mips/kernel/mips-r2-to-r6-emul.c @@ -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) {