Raul Rangel has submitted this change. ( https://review.coreboot.org/c/coreboot/+/56226 )
Change subject: thread: Add missing static inline ......................................................................
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 --- M src/include/thread.h 1 file changed, 5 insertions(+), 0 deletions(-)
Approvals: build bot (Jenkins): Verified Marshall Dawson: Looks good to me, approved Karthik Ramasubramanian: Looks good to me, approved
diff --git a/src/include/thread.h b/src/include/thread.h index a2c7ed2..da8ed72 100644 --- a/src/include/thread.h +++ b/src/include/thread.h @@ -59,6 +59,11 @@ #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;