summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/asm-mips64/delay.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/asm-mips64/delay.h b/include/asm-mips64/delay.h
index 4c05d3cc1..f62188abc 100644
--- a/include/asm-mips64/delay.h
+++ b/include/asm-mips64/delay.h
@@ -43,7 +43,8 @@ extern __inline__ void __udelay(unsigned long usecs, unsigned long lps)
__asm__("dmultu\t%0,%2\n\t"
"mfhi\t%0"
:"=r" (usecs)
- :"0" (usecs),"r" (lps));
+ :"0" (usecs),"r" (lps)
+ :"hi", "lo");
__delay(usecs);
}