From: Jayachandran C Date: Mon, 10 Jun 2013 06:30:04 +0000 (+0000) Subject: MIPS: Netlogic: COP2 save/restore code X-Git-Tag: v3.11-rc1~14^2~65 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5649d37c2b23ad6545709c976b9abbfa8d5f4e11;p=pandora-kernel.git MIPS: Netlogic: COP2 save/restore code Add COP2 register state structure and functions for Netlogic XLP. The RX and TX buffers and status registers are to be saved. Since the registers are 64-bit, do the implementation in inline assembly which works on both 32-bit and 64-bit kernels. Signed-off-by: Jayachandran C Cc: linux-mips@linux-mips.org Cc: ddaney.cavm@gmail.com Patchwork: https://patchwork.linux-mips.org/patch/5413/ Signed-off-by: Ralf Baechle --- Reading git-diff-tree failed