diff options
Diffstat (limited to 'firmware/target/mips/thread-mips32.c')
-rw-r--r-- | firmware/target/mips/thread-mips32.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/firmware/target/mips/thread-mips32.c b/firmware/target/mips/thread-mips32.c index e2fccb8022..2b34d3ce3d 100644 --- a/firmware/target/mips/thread-mips32.c +++ b/firmware/target/mips/thread-mips32.c @@ -21,13 +21,15 @@ * ****************************************************************************/ +#include "gcc_extensions.h" + /*--------------------------------------------------------------------------- * Start the thread running and terminate it if it returns *--------------------------------------------------------------------------- */ void start_thread(void); /* Provide C access to ASM label */ -static void __attribute__((used)) _start_thread(void) +static void USED_ATTR _start_thread(void) { /* t1 = context */ asm volatile ( |