summaryrefslogtreecommitdiff
path: root/arch/mips/include/asm/uasm.h
diff options
context:
space:
mode:
authorJames Hogan <james.hogan@imgtec.com>2016-06-23 17:34:36 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2016-07-05 16:08:29 +0200
commit61c64cf99ae589af3835dbc9bb57200d4a4842ae (patch)
tree5263c54997e638ab838c35ac61c124106405c827 /arch/mips/include/asm/uasm.h
parent59e3559f48dcad3051f60c32775e028cd999ae53 (diff)
downloadlwn-61c64cf99ae589af3835dbc9bb57200d4a4842ae.tar.gz
lwn-61c64cf99ae589af3835dbc9bb57200d4a4842ae.zip
MIPS: uasm: Add DI instruction
Add DI instruction for disabling interrupts to uasm so that KVM can use uasm for generating its entry point code at runtime. Signed-off-by: James Hogan <james.hogan@imgtec.com> Acked-by: Ralf Baechle <ralf@linux-mips.org> Cc: linux-mips@linux-mips.org Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/mips/include/asm/uasm.h')
-rw-r--r--arch/mips/include/asm/uasm.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/mips/include/asm/uasm.h b/arch/mips/include/asm/uasm.h
index edc02687016e..4af8a5becbbb 100644
--- a/arch/mips/include/asm/uasm.h
+++ b/arch/mips/include/asm/uasm.h
@@ -110,6 +110,7 @@ Ip_u1u2(_ctc1);
Ip_u2u1(_ctcmsa);
Ip_u2u1s3(_daddiu);
Ip_u3u1u2(_daddu);
+Ip_u1(_di);
Ip_u2u1msbu3(_dins);
Ip_u2u1msbu3(_dinsm);
Ip_u1u2(_divu);