diff options
author | Raul E Rangel <rrangel@chromium.org> | 2021-07-12 10:42:38 -0600 |
---|---|---|
committer | Raul Rangel <rrangel@chromium.org> | 2021-07-14 17:53:51 +0000 |
commit | 2c7080692a281d64a99aeb8db7b65b33b83c3f90 (patch) | |
tree | b61e638dc240269c8d3f8ed0611d1e22c1b4e299 /src/include | |
parent | 72240430cf26fd269e89a730f70eab582153d445 (diff) |
thread: Add missing static inline
BUG=b:179699789
TEST=Able to compile with the rest of the patch train.
Signed-off-by: Raul E Rangel <rrangel@chromium.org>
Change-Id: I9e3cfb55e48737c378bde53ae0e5d7cbf5e41bc3
Reviewed-on: https://review.coreboot.org/c/coreboot/+/56226
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Karthik Ramasubramanian <kramasub@google.com>
Reviewed-by: Marshall Dawson <marshalldawson3rd@gmail.com>
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/thread.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/include/thread.h b/src/include/thread.h index a2c7ed2085..da8ed721e3 100644 --- a/src/include/thread.h +++ b/src/include/thread.h @@ -59,6 +59,11 @@ void arch_prepare_thread(struct thread *t, #else static inline void threads_initialize(void) {} static inline int thread_run(void (*func)(void *), void *arg) { return -1; } +static inline int thread_run_until(void (*func)(void *), void *arg, boot_state_t state, + boot_state_sequence_t seq) +{ + return -1; +} static inline int thread_yield_microseconds(unsigned int microsecs) { return -1; |