summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@oarcorp.com>2015-07-16 11:14:48 -0700
committerJoel Sherrill <joel.sherrill@oarcorp.com>2015-07-16 11:15:52 -0700
commit7e14385b4622dcd2ed505547625a5a75e1fd7faf (patch)
treeb1b1fbbfe3b4334913c8ac22d3c473200611d2d4
parentbsp/tms570: source changes reflecting new headers. (diff)
downloadrtems-7e14385b4622dcd2ed505547625a5a75e1fd7faf.tar.bz2
sh/shared/startup/bspstart.c: Add include of percpu.h
-rw-r--r--c/src/lib/libbsp/sh/shared/startup/bspstart.c5
1 files 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 edeb13df65..57b2c9e1ef 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
/*