[PATCH v2] LEON3 SMP: remove compiler warning from __delay() declaration

Gedare Bloom gedare at rtems.org
Thu Oct 31 14:30:41 UTC 2013


OK.

On Thu, Oct 31, 2013 at 10:23 AM, Daniel Hellstrom <daniel at gaisler.com> wrote:
> ---
>  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
>
> _______________________________________________
> rtems-devel mailing list
> rtems-devel at rtems.org
> http://www.rtems.org/mailman/listinfo/rtems-devel



More information about the devel mailing list