From: Jayachandran C Date: Mon, 10 Jun 2013 06:30:00 +0000 (+0000) Subject: MIPS: Move cop2 save/restore to switch_to() X-Git-Tag: v3.11-rc1~14^2~69 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2c952e06e4f57716109b609956eda28c900faac0;p=pandora-kernel.git MIPS: Move cop2 save/restore to switch_to() Move the common code for saving and restoring platform specific COP2 registers to switch_to(). This will make supporting new platforms (like Netlogic XLP) easier. The platform specific COP2 definitions are to be specified in asm/processor.h and in asm/cop2.h. Signed-off-by: Jayachandran C Cc: linux-mips@linux-mips.org Cc: ddaney.cavm@gmail.com Patchwork: https://patchwork.linux-mips.org/patch/5411/ Signed-off-by: Ralf Baechle --- Reading git-diff-tree failed