diff options
Diffstat (limited to 'firmware/target/coldfire/thread-coldfire.c')
-rw-r--r-- | firmware/target/coldfire/thread-coldfire.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/firmware/target/coldfire/thread-coldfire.c b/firmware/target/coldfire/thread-coldfire.c index c94580a4e7..d328e4af9a 100644 --- a/firmware/target/coldfire/thread-coldfire.c +++ b/firmware/target/coldfire/thread-coldfire.c | |||
@@ -21,12 +21,14 @@ | |||
21 | * | 21 | * |
22 | ****************************************************************************/ | 22 | ****************************************************************************/ |
23 | 23 | ||
24 | #include "gcc_extensions.h" | ||
25 | |||
24 | /*--------------------------------------------------------------------------- | 26 | /*--------------------------------------------------------------------------- |
25 | * Start the thread running and terminate it if it returns | 27 | * Start the thread running and terminate it if it returns |
26 | *--------------------------------------------------------------------------- | 28 | *--------------------------------------------------------------------------- |
27 | */ | 29 | */ |
28 | void start_thread(void); /* Provide C access to ASM label */ | 30 | void start_thread(void); /* Provide C access to ASM label */ |
29 | static void __attribute__((used)) __start_thread(void) | 31 | static void USED_ATTR __start_thread(void) |
30 | { | 32 | { |
31 | /* a0=macsr, a1=context */ | 33 | /* a0=macsr, a1=context */ |
32 | asm volatile ( | 34 | asm volatile ( |