git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
vserver 1.9.5.x5
[linux-2.6.git]
/
include
/
asm-h8300
/
delay.h
diff --git
a/include/asm-h8300/delay.h
b/include/asm-h8300/delay.h
index
7183e7e
..
cbccbbd
100644
(file)
--- a/
include/asm-h8300/delay.h
+++ b/
include/asm-h8300/delay.h
@@
-11,11
+11,10
@@
extern __inline__ void __delay(unsigned long loops)
{
- __asm__ __volatile__ ("mov.l %0,er0\n\t"
- "1:\n\t"
- "dec.l #1,er0\n\t"
+ __asm__ __volatile__ ("1:\n\t"
+ "dec.l #1,%0\n\t"
"bne 1b"
- :
:"r" (loops):"er0"
);
+ :
"=r" (loops):"0"(loops)
);
}
/*