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 <jchandra@broadcom.com>
Cc: linux-mips@linux-mips.org
Cc: ddaney.cavm@gmail.com
Patchwork: https://patchwork.linux-mips.org/patch/5413/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
This commit is contained in:
Jayachandran C
2013-06-10 06:30:04 +00:00
کامیت شده توسط Ralf Baechle
والد 64f6ebe639
کامیت 5649d37c2b
4فایلهای تغییر یافته به همراه142 افزوده شده و 1 حذف شده

مشاهده پرونده

@@ -1,3 +1,3 @@
obj-y += setup.o nlm_hal.o
obj-y += setup.o nlm_hal.o cop2-ex.o
obj-$(CONFIG_SMP) += wakeup.o
obj-$(CONFIG_USB) += usb-init.o