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>
This commit is contained in:
Raul E Rangel 2021-07-12 10:42:38 -06:00 committed by Raul Rangel
parent 72240430cf
commit 2c7080692a
1 changed files with 5 additions and 0 deletions

View File

@ -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;