diff options
Diffstat (limited to 'firmware/asm/thread.c')
-rw-r--r-- | firmware/asm/thread.c | 20 |
1 files changed, 9 insertions, 11 deletions
diff --git a/firmware/asm/thread.c b/firmware/asm/thread.c index 49e71d73af..d6b881bdc5 100644 --- a/firmware/asm/thread.c +++ b/firmware/asm/thread.c | |||
@@ -1,4 +1,11 @@ | |||
1 | #if defined(CPU_ARM) | 1 | /* First some generic implementations */ |
2 | #if defined(HAVE_WIN32_FIBER_THREADS) | ||
3 | #include "thread-win32.c" | ||
4 | #elif defined(HAVE_SIGALTSTACK_THREADS) | ||
5 | #include "thread-unix.c" | ||
6 | |||
7 | /* Now the CPU-specific implementations */ | ||
8 | #elif defined(CPU_ARM) | ||
2 | #include "arm/thread.c" | 9 | #include "arm/thread.c" |
3 | #elif defined(CPU_COLDFIRE) | 10 | #elif defined(CPU_COLDFIRE) |
4 | #include "m68k/thread.c" | 11 | #include "m68k/thread.c" |
@@ -7,15 +14,6 @@ | |||
7 | #elif defined(CPU_MIPS) | 14 | #elif defined(CPU_MIPS) |
8 | #include "mips/thread.c" | 15 | #include "mips/thread.c" |
9 | #else | 16 | #else |
10 | 17 | /* Nothing? OK, give up */ | |
11 | /* generic thread.c */ | ||
12 | |||
13 | #if defined(HAVE_WIN32_FIBER_THREADS) | ||
14 | #include "thread-win32.c" | ||
15 | #elif defined(HAVE_SIGALTSTACK_THREADS) | ||
16 | #include "thread-unix.c" | ||
17 | #else | ||
18 | #error Missing thread impl | 18 | #error Missing thread impl |
19 | #endif | 19 | #endif |
20 | |||
21 | #endif | ||