forked from len0rd/rockbox
Fix red. Need 'inline' with 'always_inline'.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26899 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
2b640ba4b8
commit
6020075551
1 changed files with 4 additions and 4 deletions
|
|
@ -157,11 +157,11 @@ static inline void load_context(const void* addr)
|
||||||
__attribute__((always_inline));
|
__attribute__((always_inline));
|
||||||
|
|
||||||
#if NUM_CORES > 1
|
#if NUM_CORES > 1
|
||||||
static void __attribute__((noinline, noreturn))
|
static void thread_final_exit(struct thread_entry *current)
|
||||||
thread_final_exit(struct thread_entry *current);
|
__attribute__((noinline, noreturn));
|
||||||
#else
|
#else
|
||||||
static void __attribute__((always_inline, noreturn))
|
static inline void thread_final_exit(struct thread_entry *current)
|
||||||
thread_final_exit(struct thread_entry *current);
|
__attribute__((always_inline, noreturn));
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
void switch_thread(void)
|
void switch_thread(void)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue