[rtems commit] sh/shared/startup/bspstart.c: Add include of percpu.h

Joel Sherril joel at rtems.org
Thu Jul 16 18:16:41 UTC 2015


Module:    rtems
Branch:    master
Commit:    7e14385b4622dcd2ed505547625a5a75e1fd7faf
Changeset: http://git.rtems.org/rtems/commit/?id=7e14385b4622dcd2ed505547625a5a75e1fd7faf

Author:    Joel Sherrill <joel.sherrill at oarcorp.com>
Date:      Thu Jul 16 11:14:48 2015 -0700

sh/shared/startup/bspstart.c: Add include of percpu.h

---

 c/src/lib/libbsp/sh/shared/startup/bspstart.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/c/src/lib/libbsp/sh/shared/startup/bspstart.c b/c/src/lib/libbsp/sh/shared/startup/bspstart.c
index edeb13d..57b2c9e 100644
--- a/c/src/lib/libbsp/sh/shared/startup/bspstart.c
+++ b/c/src/lib/libbsp/sh/shared/startup/bspstart.c
@@ -20,6 +20,7 @@
 
 #include <bsp.h>
 #include <bsp/bootcard.h>
+#include <rtems/score/percpu.h>
 
 uint32_t bsp_clicks_per_second;
 
@@ -51,8 +52,8 @@ void bsp_start( void )
    *  initialize the interrupt stack for this BSP
    */
   #if ( CPU_ALLOCATE_INTERRUPT_STACK == FALSE )
-    _CPU_Interrupt_stack_low = &CPU_Interrupt_stack_low ;
-    _CPU_Interrupt_stack_high = &CPU_Interrupt_stack_high ;
+    _CPU_Interrupt_stack_low = &CPU_Interrupt_stack_low;
+    _CPU_Interrupt_stack_high = &CPU_Interrupt_stack_high;
   #endif
 
   /*




More information about the vc mailing list