summaryrefslogtreecommitdiff
path: root/firmware/thread.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/thread.c')
-rw-r--r--firmware/thread.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/thread.c b/firmware/thread.c
index 7b91f8fcbd..251646b0f5 100644
--- a/firmware/thread.c
+++ b/firmware/thread.c
@@ -165,10 +165,10 @@ static inline void load_context(const void* addr)
165 165
166#if NUM_CORES > 1 166#if NUM_CORES > 1
167static void thread_final_exit_do(struct thread_entry *current) 167static void thread_final_exit_do(struct thread_entry *current)
168 __attribute__((noinline, noreturn)) USED_ATTR; 168 __attribute__((noinline)) NORETURN_ATTR USED_ATTR;
169#else 169#else
170static inline void thread_final_exit(struct thread_entry *current) 170static inline void thread_final_exit(struct thread_entry *current)
171 __attribute__((always_inline, noreturn)); 171 __attribute__((always_inline)) NORETURN_ATTR;
172#endif 172#endif
173 173
174void switch_thread(void) 174void switch_thread(void)