summaryrefslogtreecommitdiff
path: root/src/include/thread.h
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2019-09-13 10:49:20 +0300
committerKyösti Mälkki <kyosti.malkki@gmail.com>2019-09-14 11:16:17 +0000
commite3acc8fcf3f1cbf4a527cfcd6aa9aba9bd9d5e2b (patch)
treee3e162a29482d6b4e0928f2f440881a4e43368d9 /src/include/thread.h
parent4a637802fa6fd8c532ce32e6595298e60e84f6d6 (diff)
downloadcoreboot-e3acc8fcf3f1cbf4a527cfcd6aa9aba9bd9d5e2b.tar.xz
src/: Replace some __PRE_RAM__ use
Change-Id: Iaa56e7b98aad33eeb876edd7465c56c80fd1ac18 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/35398 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Aaron Durbin <adurbin@chromium.org>
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;