Browse Source

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

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

Ralf Baechle 19 years ago
parent
commit
05faa7b758
1 changed files with 1 additions and 1 deletions
  1. 1 1
      include/asm-mips/hazards.h

+ 1 - 1
include/asm-mips/hazards.h

@@ -100,7 +100,7 @@
 
 
 __asm__(
 __asm__(
 	"	.macro	_ssnop					\n\t"
 	"	.macro	_ssnop					\n\t"
-	"	sll	$0, $2, 1				\n\t"
+	"	sll	$0, $0, 1				\n\t"
 	"	.endm						\n\t"
 	"	.endm						\n\t"
 	"							\n\t"
 	"							\n\t"
 	"	.macro	_ehb					\n\t"
 	"	.macro	_ehb					\n\t"