[PATCH 2/7] bsps/sparc: Make spurious trap handler function static.
Joel Sherrill
joel.sherrill at OARcorp.com
Thu Mar 13 14:28:36 UTC 2014
Looks good to me.
On 3/13/2014 9:19 AM, Daniel Cederman wrote:
> ---
> c/src/lib/libbsp/sparc/erc32/startup/spurious.c | 2 +-
> c/src/lib/libbsp/sparc/leon2/startup/spurious.c | 2 +-
> c/src/lib/libbsp/sparc/leon3/startup/spurious.c | 2 +-
> 3 files changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/c/src/lib/libbsp/sparc/erc32/startup/spurious.c b/c/src/lib/libbsp/sparc/erc32/startup/spurious.c
> index b74f0c7..b8408f2 100644
> --- a/c/src/lib/libbsp/sparc/erc32/startup/spurious.c
> +++ b/c/src/lib/libbsp/sparc/erc32/startup/spurious.c
> @@ -118,7 +118,7 @@ void _BSP_Exception_frame_print( const CPU_Exception_frame *frame )
> }
> }
>
> -rtems_isr bsp_spurious_handler(
> +static rtems_isr bsp_spurious_handler(
> rtems_vector_number trap,
> CPU_Interrupt_frame *isf
> )
> diff --git a/c/src/lib/libbsp/sparc/leon2/startup/spurious.c b/c/src/lib/libbsp/sparc/leon2/startup/spurious.c
> index 0aa6826..5f7cf27 100644
> --- a/c/src/lib/libbsp/sparc/leon2/startup/spurious.c
> +++ b/c/src/lib/libbsp/sparc/leon2/startup/spurious.c
> @@ -105,7 +105,7 @@ void _BSP_Exception_frame_print( const CPU_Exception_frame *frame )
> }
> }
>
> -rtems_isr bsp_spurious_handler(
> +static rtems_isr bsp_spurious_handler(
> rtems_vector_number trap,
> CPU_Interrupt_frame *isf
> )
> diff --git a/c/src/lib/libbsp/sparc/leon3/startup/spurious.c b/c/src/lib/libbsp/sparc/leon3/startup/spurious.c
> index e12ac01..210dee0 100644
> --- a/c/src/lib/libbsp/sparc/leon3/startup/spurious.c
> +++ b/c/src/lib/libbsp/sparc/leon3/startup/spurious.c
> @@ -109,7 +109,7 @@ void _BSP_Exception_frame_print( const CPU_Exception_frame *frame )
> }
> }
>
> -rtems_isr bsp_spurious_handler(
> +static rtems_isr bsp_spurious_handler(
> rtems_vector_number trap,
> CPU_Interrupt_frame *isf
> )
--
Joel Sherrill, Ph.D. Director of Research & Development
joel.sherrill at OARcorp.com On-Line Applications Research
Ask me about RTEMS: a free RTOS Huntsville AL 35805
Support Available (256) 722-9985
More information about the devel
mailing list