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:Amit Pundir <amit.pundir@linaro.org>
Loading
Please register or sign in to comment