Code Review
/
kvmfornfv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
These changes are the raw update to linux-4.4.6-rt14. Kernel sources
[kvmfornfv.git]
/
kernel
/
arch
/
arc
/
include
/
asm
/
delay.h
diff --git
a/kernel/arch/arc/include/asm/delay.h
b/kernel/arch/arc/include/asm/delay.h
index
43de302
..
08e7e2a
100644
(file)
--- a/
kernel/arch/arc/include/asm/delay.h
+++ b/
kernel/arch/arc/include/asm/delay.h
@@
-22,11
+22,10
@@
static inline void __delay(unsigned long loops)
{
__asm__ __volatile__(
- "1: sub.f %0, %0, 1 \n"
- " jpnz 1b \n"
- : "+r"(loops)
- :
- : "cc");
+ " lp 1f \n"
+ " nop \n"
+ "1: \n"
+ : "+l"(loops));
}
extern void __bad_udelay(void);