[PATCH 3/5] LEON3 SMP: remove compiler warning from __delay() declaration
Daniel Hellstrom
daniel at gaisler.com
Thu Oct 31 13:58:52 UTC 2013
Signed-off-by: Daniel Hellstrom <daniel at gaisler.com>
---
c/src/lib/libbsp/sparc/leon3/smp/smp_leon3.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/c/src/lib/libbsp/sparc/leon3/smp/smp_leon3.c b/c/src/lib/libbsp/sparc/leon3/smp/smp_leon3.c
index ec2b4a8..262116f 100644
--- a/c/src/lib/libbsp/sparc/leon3/smp/smp_leon3.c
+++ b/c/src/lib/libbsp/sparc/leon3/smp/smp_leon3.c
@@ -138,7 +138,7 @@ void bsp_smp_broadcast_interrupt(void)
}
}
-extern __inline__ void __delay(unsigned long loops)
+static __inline__ void __delay(unsigned long loops)
{
__asm__ __volatile__("cmp %0, 0\n\t"
"1: bne 1b\n\t"
--
1.7.0.4
More information about the devel
mailing list