summaryrefslogtreecommitdiffstats
path: root/arch/mips/netlogic/xlp/Makefile
diff options
context:
space:
mode:
authorJayachandran C <jchandra@broadcom.com>2013-06-10 08:30:04 +0200
committerRalf Baechle <ralf@linux-mips.org>2013-06-13 17:46:41 +0200
commit5649d37c2b23ad6545709c976b9abbfa8d5f4e11 (patch)
treea9fda320023769a6f7991487fb6ff1604a8560c2 /arch/mips/netlogic/xlp/Makefile
parentMIPS: Netlogic: rename nlm_cop2_save/restore (diff)
downloadlinux-5649d37c2b23ad6545709c976b9abbfa8d5f4e11.tar.xz
linux-5649d37c2b23ad6545709c976b9abbfa8d5f4e11.zip
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>
Diffstat (limited to 'arch/mips/netlogic/xlp/Makefile')
-rw-r--r--arch/mips/netlogic/xlp/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/netlogic/xlp/Makefile b/arch/mips/netlogic/xlp/Makefile
index a84d6ed3746c..e8dd14c38cb6 100644
--- a/arch/mips/netlogic/xlp/Makefile
+++ b/arch/mips/netlogic/xlp/Makefile
@@ -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