ANDROID: sched/fair: fix place_entity() vendor hook
place_entity() vendor hook is meant to tweak vruntime by vendor modules as needed, but with current form of the hook that is not possible as vruntime is passed by it's value. Fix it by switching to pass by reference. Bug: 175448877 Change-Id: Ibb51592f94da31019fa98a6767d080ec61daafe6 Signed-off-by: Satya Durga Srinivasu Prabhala <satyap@codeaurora.org>
This commit is contained in:

committed by
Todd Kjos

parent
3650f0d4c7
commit
d31ea0950a
@@ -179,7 +179,7 @@ DECLARE_RESTRICTED_HOOK(android_rvh_account_irq,
|
||||
|
||||
struct sched_entity;
|
||||
DECLARE_RESTRICTED_HOOK(android_rvh_place_entity,
|
||||
TP_PROTO(struct sched_entity *se, u64 vruntime),
|
||||
TP_PROTO(struct sched_entity *se, u64 *vruntime),
|
||||
TP_ARGS(se, vruntime), 1);
|
||||
|
||||
DECLARE_RESTRICTED_HOOK(android_rvh_update_cpu_capacity,
|
||||
|
Reference in New Issue
Block a user