From: Deng-Cheng Zhu Date: Fri, 7 Mar 2014 01:05:27 +0000 (-0800) Subject: MIPS: math-emu: Fix prefx detection and COP1X function field definition X-Git-Tag: v3.14-rc8~19^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=51061b8876a3906aa5bf173582f180596f9d6455;p=pandora-kernel.git MIPS: math-emu: Fix prefx detection and COP1X function field definition When running applications which contain the instruction "prefx" on FPU-less CPUs, a message "Illegal instruction" will be seen. This instruction is supposed to be ignored by the FPU emulator. However, its current detection and function field encoding are incorrect. This patch fix the issue. Signed-off-by: Deng-Cheng Zhu Reviewed-by: Leonid Yegoshin Reviewed-by: Paul Burton Acked-by: David Daney Cc: linux-mips@linux-mips.org Cc: Steven.Hill@imgtec.com Patchwork: https://patchwork.linux-mips.org/patch/6608/ Signed-off-by: Ralf Baechle --- Reading git-diff-tree failed