git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Clean up mostly unused IOSPACE macros
[safe/jmp/linux-2.6]
/
include
/
asm-h8300
/
delay.h
diff --git
a/include/asm-h8300/delay.h
b/include/asm-h8300/delay.h
index
cbccbbd
..
743beba
100644
(file)
--- a/
include/asm-h8300/delay.h
+++ b/
include/asm-h8300/delay.h
@@
-9,7
+9,7
@@
* Delay routines, using a pre-computed "loops_per_second" value.
*/
* Delay routines, using a pre-computed "loops_per_second" value.
*/
-
extern __inline__
void __delay(unsigned long loops)
+
static inline
void __delay(unsigned long loops)
{
__asm__ __volatile__ ("1:\n\t"
"dec.l #1,%0\n\t"
{
__asm__ __volatile__ ("1:\n\t"
"dec.l #1,%0\n\t"
@@
-27,7
+27,7
@@
extern __inline__ void __delay(unsigned long loops)
extern unsigned long loops_per_jiffy;
extern unsigned long loops_per_jiffy;
-
extern __inline__
void udelay(unsigned long usecs)
+
static inline
void udelay(unsigned long usecs)
{
usecs *= 4295; /* 2**32 / 1000000 */
usecs /= (loops_per_jiffy*HZ);
{
usecs *= 4295; /* 2**32 / 1000000 */
usecs /= (loops_per_jiffy*HZ);