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:
parent
72240430cf
commit
2c7080692a
|
@ -59,6 +59,11 @@ void arch_prepare_thread(struct thread *t,
|
||||||
#else
|
#else
|
||||||
static inline void threads_initialize(void) {}
|
static inline void threads_initialize(void) {}
|
||||||
static inline int thread_run(void (*func)(void *), void *arg) { return -1; }
|
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)
|
static inline int thread_yield_microseconds(unsigned int microsecs)
|
||||||
{
|
{
|
||||||
return -1;
|
return -1;
|
||||||
|
|
Loading…
Reference in New Issue