summaryrefslogtreecommitdiffstats
path: root/arch/mips/mm/uasm-mips.c
diff options
context:
space:
mode:
authorPaul Burton2013-12-24 04:50:35 +0100
committerPaul Burton2014-05-28 17:20:27 +0200
commit53ed138986e1022c2b6fef7f8e9731f5bf3e6af1 (patch)
treeb18132ab7697d3d2acf01c8b059fa91939a8e9c1 /arch/mips/mm/uasm-mips.c
parentMIPS: uasm: add sync instruction (diff)
downloadkernel-qcow2-linux-53ed138986e1022c2b6fef7f8e9731f5bf3e6af1.tar.gz
kernel-qcow2-linux-53ed138986e1022c2b6fef7f8e9731f5bf3e6af1.tar.xz
kernel-qcow2-linux-53ed138986e1022c2b6fef7f8e9731f5bf3e6af1.zip
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-mips.c')
-rw-r--r--arch/mips/mm/uasm-mips.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/mips/mm/uasm-mips.c b/arch/mips/mm/uasm-mips.c
index 51063fdcefbf..c69f785753b5 100644
--- a/arch/mips/mm/uasm-mips.c
+++ b/arch/mips/mm/uasm-mips.c
@@ -113,6 +113,7 @@ static struct insn insn_table[] = {
{ insn_tlbr, M(cop0_op, cop_op, 0, 0, 0, tlbr_op), 0 },
{ insn_tlbwi, M(cop0_op, cop_op, 0, 0, 0, tlbwi_op), 0 },
{ insn_tlbwr, M(cop0_op, cop_op, 0, 0, 0, tlbwr_op), 0 },
+ { insn_wait, M(cop0_op, cop_op, 0, 0, 0, wait_op), SCIMM },
{ insn_xori, M(xori_op, 0, 0, 0, 0, 0), RS | RT | UIMM },
{ insn_xor, M(spec_op, 0, 0, 0, 0, xor_op), RS | RT | RD },
{ insn_invalid, 0, 0 }