summaryrefslogtreecommitdiff
path: root/arch/mips/include/asm/uasm.h
diff options
context:
space:
mode:
authorDavid Daney <david.daney@cavium.com>2017-03-15 00:21:40 +0300
committerRalf Baechle <ralf@linux-mips.org>2017-04-10 12:56:04 +0300
commitbfbfa9d61cf29f3579107892c7347c02d891dfec (patch)
tree08e43f5482bdf60ddb681caa0bade496e644286b /arch/mips/include/asm/uasm.h
parent05510f2b4819398a25ef432d72efa9e95419768a (diff)
downloadlinux-bfbfa9d61cf29f3579107892c7347c02d891dfec.tar.xz
MIPS: uasm: Add support for LHU.
The follow-on BPF JIT patches use the LHU instruction, so add it. Signed-off-by: David Daney <david.daney@cavium.com> Cc: James Hogan <james.hogan@imgtec.com> Cc: Alexei Starovoitov <ast@kernel.org> Cc: Steven J. Hill <steven.hill@cavium.com> Cc: linux-mips@linux-mips.org Cc: netdev@vger.kernel.org Cc: linux-kernel@vger.kernel.org Patchwork: https://patchwork.linux-mips.org/patch/15743/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
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 e9a9e2ade1d2..d91ed5b506ed 100644
--- a/arch/mips/include/asm/uasm.h
+++ b/arch/mips/include/asm/uasm.h
@@ -138,6 +138,7 @@ Ip_u2s3u1(_lb);
Ip_u2s3u1(_ld);
Ip_u3u1u2(_ldx);
Ip_u2s3u1(_lh);
+Ip_u2s3u1(_lhu);
Ip_u2s3u1(_ll);
Ip_u2s3u1(_lld);
Ip_u1s2(_lui);