summaryrefslogtreecommitdiff
path: root/arch/arc/include/asm/delay.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arc/include/asm/delay.h')
-rw-r--r--arch/arc/include/asm/delay.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/arc/include/asm/delay.h b/arch/arc/include/asm/delay.h
index a36e8601114d..d5da2115d78a 100644
--- a/arch/arc/include/asm/delay.h
+++ b/arch/arc/include/asm/delay.h
@@ -26,7 +26,9 @@ static inline void __delay(unsigned long loops)
" lp 1f \n"
" nop \n"
"1: \n"
- : : "r"(loops));
+ :
+ : "r"(loops)
+ : "lp_count");
}
extern void __bad_udelay(void);