aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/include
diff options
context:
space:
mode:
authorDavid Daney <ddaney@caviumnetworks.com>2010-07-23 18:41:42 -0700
committerRalf Baechle <ralf@linux-mips.org>2010-08-05 13:26:21 +0100
commit5b97c3f7ae0ad0eea1eb90d649420a1a180f2bdf (patch)
treee307c9bccdf7a5dfd32fd5157b0d8b5f617a8dfc /arch/mips/include
parentde6d5b555c1887b5b9b59854a45ebd4805fb4b39 (diff)
downloadkernel_samsung_smdk4412-5b97c3f7ae0ad0eea1eb90d649420a1a180f2bdf.zip
kernel_samsung_smdk4412-5b97c3f7ae0ad0eea1eb90d649420a1a180f2bdf.tar.gz
kernel_samsung_smdk4412-5b97c3f7ae0ad0eea1eb90d649420a1a180f2bdf.tar.bz2
MIPS: uasm: Add BBIT0 and BBIT1 instructions
These are OCTEON specific instructions. Signed-off-by: David Daney <ddaney@caviumnetworks.com> To: linux-mips@linux-mips.org To: wim@iguana.be Cc: linux-kernel@vger.kernel.org Patchwork: https://patchwork.linux-mips.org/patch/1496/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/include')
-rw-r--r--arch/mips/include/asm/uasm.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/mips/include/asm/uasm.h b/arch/mips/include/asm/uasm.h
index 3964b2e..db9d449 100644
--- a/arch/mips/include/asm/uasm.h
+++ b/arch/mips/include/asm/uasm.h
@@ -223,3 +223,7 @@ void uasm_il_bne(u32 **p, struct uasm_reloc **r, unsigned int reg1,
void uasm_il_bnez(u32 **p, struct uasm_reloc **r, unsigned int reg, int lid);
void uasm_il_bgezl(u32 **p, struct uasm_reloc **r, unsigned int reg, int lid);
void uasm_il_bgez(u32 **p, struct uasm_reloc **r, unsigned int reg, int lid);
+void uasm_il_bbit0(u32 **p, struct uasm_reloc **r, unsigned int reg,
+ unsigned int bit, int lid);
+void uasm_il_bbit1(u32 **p, struct uasm_reloc **r, unsigned int reg,
+ unsigned int bit, int lid);