Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit ddb5463c authored by Amit Pundir's avatar Amit Pundir
Browse files

ANDROID: binder: sched_param: Include uapi/linux/sched/types.h



Upstream commit e2d1e2ae ("sched/headers: Move various ABI
definitions to <uapi/linux/sched/types.h>"), moved sched_param
definition to uapi/linux/sched/types.h. Hence include that header
file otherwise we run into following build error:

  CC      drivers/android/binder.o
drivers/android/binder.c: In function 'binder_do_set_priority':
drivers/android/binder.c:1159:22: error: storage size of 'params' isn't known
   struct sched_param params;
                      ^
drivers/android/binder.c:1159:22: warning: unused variable 'params' [-Wunused-variable]
scripts/Makefile.build:302: recipe for target 'drivers/android/binder.o' failed

Fixes: Change-Id: I71f356e476be2933713a0ecfa2cc31aa141e2dc6
       ("ANDROID: binder: add support for RT prio inheritance.")
Signed-off-by: default avatarAmit Pundir <amit.pundir@linaro.org>
parent 4443eafd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment