[PATCH] score/or1k/cpu.c: discard linker-symbols.h include and extern the related variable instead

Joel Sherrill joel.sherrill at oarcorp.com
Tue Feb 10 19:51:24 UTC 2015


This looks great if it had a comment. :)

On 2/10/2015 1:50 PM, Hesham ALMatary wrote:
> ---
>  cpukit/score/cpu/or1k/cpu.c | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/cpukit/score/cpu/or1k/cpu.c b/cpukit/score/cpu/or1k/cpu.c
> index 9d1ae49..4d6e9c0 100644
> --- a/cpukit/score/cpu/or1k/cpu.c
> +++ b/cpukit/score/cpu/or1k/cpu.c
> @@ -14,9 +14,10 @@
>  #include <rtems/system.h>
>  #include <rtems/score/isr.h>
>  #include <rtems/score/wkspace.h>
> -#include <bsp/linker-symbols.h>
>  #include <rtems/score/cpu.h>
>  
> +extern char bsp_start_vector_table_begin[];
> +
>  /**
>   * @brief Performs processor dependent initialization.
>   */

-- 
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