diff options
Diffstat (limited to 'firmware/asm/m68k/thread.c')
-rw-r--r-- | firmware/asm/m68k/thread.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/firmware/asm/m68k/thread.c b/firmware/asm/m68k/thread.c index 7df89001d7..de07b29729 100644 --- a/firmware/asm/m68k/thread.c +++ b/firmware/asm/m68k/thread.c | |||
@@ -86,6 +86,8 @@ static inline void load_context(const void* addr) | |||
86 | ); | 86 | ); |
87 | } | 87 | } |
88 | 88 | ||
89 | |||
90 | #ifdef RB_PROFILE | ||
89 | /*--------------------------------------------------------------------------- | 91 | /*--------------------------------------------------------------------------- |
90 | * Call this from asm to make sure the sp is pointing to the | 92 | * Call this from asm to make sure the sp is pointing to the |
91 | * correct place before the context is saved. | 93 | * correct place before the context is saved. |
@@ -99,3 +101,6 @@ static inline void _profile_thread_stopped(int current_thread) | |||
99 | :: [id] "r" (current_thread) | 101 | :: [id] "r" (current_thread) |
100 | : "cc", "memory"); | 102 | : "cc", "memory"); |
101 | } | 103 | } |
104 | |||
105 | #define profile_thread_stopped _profile_thread_stopped | ||
106 | #endif /* RB_PROFILE */ | ||