Browse Source

fix build regression on mips n32 due to typo in new inline syscall

commit 1bcdaeee6e659f1d856717c9aa562a068f2f3bd4 introduced the
regression.
Rich Felker 5 years ago
parent
commit
7b6ec3de71
1 changed files with 1 additions and 1 deletions
  1. 1 1
      arch/mipsn32/syscall_arch.h

+ 1 - 1
arch/mipsn32/syscall_arch.h

@@ -124,7 +124,7 @@ static inline long __syscall6(long n, long a, long b, long c, long d, long e, lo
 	register long r6 __asm__("$6") = c;
 	register long r7 __asm__("$7") = d;
 	register long r8 __asm__("$8") = e;
-	register long r8 __asm__("$9") = f;
+	register long r9 __asm__("$9") = f;
 	register long r2 __asm__("$2");
 	__asm__ __volatile__ (
 		"addu $2,$0,%2 ; syscall"