summaryrefslogtreecommitdiffstats
path: root/include/asm-xtensa/delay.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-xtensa/delay.h')
-rw-r--r--include/asm-xtensa/delay.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-xtensa/delay.h b/include/asm-xtensa/delay.h
index 0a123d5..1bc601e 100644
--- a/include/asm-xtensa/delay.h
+++ b/include/asm-xtensa/delay.h
@@ -18,7 +18,7 @@
extern unsigned long loops_per_jiffy;
-extern __inline__ void __delay(unsigned long loops)
+static inline void __delay(unsigned long loops)
{
/* 2 cycles per loop. */
__asm__ __volatile__ ("1: addi %0, %0, -2; bgeui %0, 2, 1b"
OpenPOWER on IntegriCloud