summaryrefslogtreecommitdiff
path: root/include/asm-mips/hazards.h
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2006-01-11 21:23:00 +0300
committerRalf Baechle <ralf@linux-mips.org>2006-02-07 16:30:21 +0300
commit05faa7b758e4f23b66c5a776a338f2348cbbc4af (patch)
treeaac100fe8d35630e5912d0a314976f9680a1e164 /include/asm-mips/hazards.h
parent4f0638ba9e3825d21d41e98d04faa6b74a05c624 (diff)
downloadlinux-05faa7b758e4f23b66c5a776a338f2348cbbc4af.tar.xz
[MIPS] Fix C version of ssnop to use the right opcode.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'include/asm-mips/hazards.h')
-rw-r--r--include/asm-mips/hazards.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-mips/hazards.h b/include/asm-mips/hazards.h
index 2fc90632f88c..6111a0ce58c4 100644
--- a/include/asm-mips/hazards.h
+++ b/include/asm-mips/hazards.h
@@ -100,7 +100,7 @@
__asm__(
" .macro _ssnop \n\t"
- " sll $0, $2, 1 \n\t"
+ " sll $0, $0, 1 \n\t"
" .endm \n\t"
" \n\t"
" .macro _ehb \n\t"