From 2c7080692a281d64a99aeb8db7b65b33b83c3f90 Mon Sep 17 00:00:00 2001 From: Raul E Rangel Date: Mon, 12 Jul 2021 10:42:38 -0600 Subject: 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 Change-Id: I9e3cfb55e48737c378bde53ae0e5d7cbf5e41bc3 Reviewed-on: https://review.coreboot.org/c/coreboot/+/56226 Tested-by: build bot (Jenkins) Reviewed-by: Karthik Ramasubramanian Reviewed-by: Marshall Dawson --- src/include/thread.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src') 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; -- cgit v1.2.3