summaryrefslogtreecommitdiff
path: root/src/include/thread.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/thread.h')
-rw-r--r--src/include/thread.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/thread.h b/src/include/thread.h
index e6af2efd55..b66803e3c0 100644
--- a/src/include/thread.h
+++ b/src/include/thread.h
@@ -20,7 +20,7 @@
#include <bootstate.h>
#include <arch/cpu.h>
-#if CONFIG(COOP_MULTITASKING) && !defined(__SMM__) && !defined(__PRE_RAM__)
+#if ENV_RAMSTAGE && CONFIG(COOP_MULTITASKING)
struct thread {
int id;