summaryrefslogtreecommitdiffstats
path: root/arch/mips/mm/uasm-micromips.c
diff options
context:
space:
mode:
authorPaul Burton <paul.burton@imgtec.com>2013-12-24 03:50:35 +0000
committerPaul Burton <paul.burton@imgtec.com>2014-05-28 16:20:27 +0100
commit53ed138986e1022c2b6fef7f8e9731f5bf3e6af1 (patch)
treeb18132ab7697d3d2acf01c8b059fa91939a8e9c1 /arch/mips/mm/uasm-micromips.c
parent729ff56169395cb3e467e4e3c1e2637f4d3436ce (diff)
downloadop-kernel-dev-53ed138986e1022c2b6fef7f8e9731f5bf3e6af1.zip
op-kernel-dev-53ed138986e1022c2b6fef7f8e9731f5bf3e6af1.tar.gz
MIPS: uasm: add wait instruction
This patch allows use of the wait instruction from uasm. It will be used by a subsequent patch. Signed-off-by: Paul Burton <paul.burton@imgtec.com>
Diffstat (limited to 'arch/mips/mm/uasm-micromips.c')
-rw-r--r--arch/mips/mm/uasm-micromips.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/mips/mm/uasm-micromips.c b/arch/mips/mm/uasm-micromips.c
index 9500f2a..bcbcf4a 100644
--- a/arch/mips/mm/uasm-micromips.c
+++ b/arch/mips/mm/uasm-micromips.c
@@ -104,6 +104,7 @@ static struct insn insn_table_MM[] = {
{ insn_tlbr, M(mm_pool32a_op, 0, 0, 0, mm_tlbr_op, mm_pool32axf_op), 0 },
{ insn_tlbwi, M(mm_pool32a_op, 0, 0, 0, mm_tlbwi_op, mm_pool32axf_op), 0 },
{ insn_tlbwr, M(mm_pool32a_op, 0, 0, 0, mm_tlbwr_op, mm_pool32axf_op), 0 },
+ { insn_wait, M(mm_pool32a_op, 0, 0, 0, mm_wait_op, mm_pool32axf_op), SCIMM },
{ insn_xor, M(mm_pool32a_op, 0, 0, 0, 0, mm_xor32_op), RT | RS | RD },
{ insn_xori, M(mm_xori32_op, 0, 0, 0, 0, 0), RT | RS | UIMM },
{ insn_dins, 0, 0 },
OpenPOWER on IntegriCloud