projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ARC: udelay: fix inline assembler by adding LP_COUNT to clobber list
[firefly-linux-kernel-4.4.55.git]
/
arch
/
arc
/
include
/
asm
/
delay.h
diff --git
a/arch/arc/include/asm/delay.h
b/arch/arc/include/asm/delay.h
index a36e8601114d2ca2970f257f9f8d7e5c03ec08a2..d5da2115d78a678e343da2abec51f6c8efbbe0a4 100644
(file)
--- 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);