projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7682f9e
)
MIPS: mm: uasm: Fix lh micro-assembler instruction
author
Markos Chandras
<markos.chandras@imgtec.com>
Mon, 23 Jun 2014 09:38:46 +0000
(10:38 +0100)
committer
Ralf Baechle
<ralf@linux-mips.org>
Thu, 26 Jun 2014 09:48:19 +0000
(10:48 +0100)
Commit
d6b3314b49e12e8c349deb4ca28e7028db00728f
"MIPS: uasm: Add lh uam
instruction" added the 'lh' micro-assembler instruction but it used the
'lw' opcode for it. Fix it by using the correct 'lh' opcode.
Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/7121/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/mm/uasm-mips.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/mips/mm/uasm-mips.c
b/arch/mips/mm/uasm-mips.c
index 4535a9d19ea591bd5ed9f052cd97c1cda0737326..6708a2dbf934ed6ba18aa51f396f2d66031082ec 100644
(file)
--- a/
arch/mips/mm/uasm-mips.c
+++ b/
arch/mips/mm/uasm-mips.c
@@
-89,7
+89,7
@@
static struct insn insn_table[] = {
{ insn_lb, M(lb_op, 0, 0, 0, 0, 0), RS | RT | SIMM },
{ insn_ld, M(ld_op, 0, 0, 0, 0, 0), RS | RT | SIMM },
{ insn_ldx, M(spec3_op, 0, 0, 0, ldx_op, lx_op), RS | RT | RD },
- { insn_lh, M(l
w
_op, 0, 0, 0, 0, 0), RS | RT | SIMM },
+ { insn_lh, M(l
h
_op, 0, 0, 0, 0, 0), RS | RT | SIMM },
{ insn_lld, M(lld_op, 0, 0, 0, 0, 0), RS | RT | SIMM },
{ insn_ll, M(ll_op, 0, 0, 0, 0, 0), RS | RT | SIMM },
{ insn_lui, M(lui_op, 0, 0, 0, 0, 0), RT | SIMM },