summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--firmware/thread.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/firmware/thread.c b/firmware/thread.c
index d79c53834e..b7769535f7 100644
--- a/firmware/thread.c
+++ b/firmware/thread.c
@@ -64,6 +64,8 @@ extern int stackbegin[];
extern int stackend[];
void switch_thread(void) __attribute__ ((section(".icode")));
+static inline void store_context(void* addr) __attribute__ ((always_inline));
+static inline void load_context(const void* addr) __attribute__ ((always_inline));
#if CONFIG_CPU == MCF5249
/*---------------------------------------------------------------------------