浏览代码

[MIPS] Fix C version of ssnop to use the right opcode.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

Ralf Baechle 19 年之前
父节点
当前提交
05faa7b758
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      include/asm-mips/hazards.h

+ 1 - 1
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"