From: Paul Burton Date: Mon, 27 Jan 2014 15:23:06 +0000 (+0000) Subject: MIPS: Don't assume 64-bit FP registers for dump_{,task_}fpu X-Git-Tag: v3.15-rc1~125^2~131 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6cec7c4ad79f8fd66574044adfa284b20ee7c4fd;p=pandora-kernel.git MIPS: Don't assume 64-bit FP registers for dump_{,task_}fpu This code assumed that saved FP registers are 64 bits wide, an assumption which will no longer be true once MSA is introduced. This patch modifies the code to copy the lower 64 bits of each register in turn, which is safe for any FP register width >= 64 bits. Signed-off-by: Paul Burton Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/6425/ Signed-off-by: Ralf Baechle --- Reading git-diff-tree failed