MIPS: Netlogic: rename nlm_cop2_save/restore
commit64f6ebe63914835ad5cd5bc4c490f3deaeac2511
authorJayachandran C <jchandra@broadcom.com>
Mon, 10 Jun 2013 06:30:03 +0000 (10 06:30 +0000)
committerRalf Baechle <ralf@linux-mips.org>
Thu, 13 Jun 2013 15:46:41 +0000 (13 17:46 +0200)
treea8f01cf641a850ce17d71ef05bd236d6f14d0b35
parent1c146cd46fccfaa5525152f086da2752fe0ed4dd
MIPS: Netlogic: rename nlm_cop2_save/restore

Rename macro nlm_cop2_enable() to nlm_cop2_enable_irqsave() and the macro
nlm_cop2_restore to nlm_cop2_disable_irqrestore(). The new names will
reflect the functionality better, and will make nlm_cop2_restore()
available to be used later in COP2 save/restore patch.

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/5412/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/include/asm/netlogic/xlr/fmn.h
arch/mips/netlogic/xlr/fmn.c