drivers/misc/optee_smc: Fix sched_yield() on flat builds
Previous change that introduced yielding upon OP-TEE return with reason foreign interrupt, omitted to include <sched.h>. This worked on kernel builds, but not on flat builds. Include it. Signed-off-by: George Poulios <gpoulios@census-labs.com>
This commit is contained in:
parent
8c32bed29e
commit
c78e5b983a
1 changed files with 1 additions and 0 deletions
|
|
@ -29,6 +29,7 @@
|
|||
#include <errno.h>
|
||||
#include <syslog.h>
|
||||
#include <string.h>
|
||||
#include <sched.h>
|
||||
|
||||
#include "optee.h"
|
||||
#include "optee_smc.h"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue