From 342aff08ae23fc8432a2e83887841ce0e83a623c Mon Sep 17 00:00:00 2001 From: Jacky Liu Date: Tue, 25 Jul 2023 17:45:12 +0800 Subject: [PATCH] ANDROID: cgroup: Cleanup android_rvh_cgroup_force_kthread_migration android_rvh_cgroup_force_kthread_migration was removed by commit b0ea1feeefe0 ("Revert "ANDROID: cgroup: Add android_rvh_cgroup_force_kthread_migration"") but was then accidentally added back by commit 5f657b04f4f2 ("ANDROID: subsystem-specific vendor_hooks.c for sched"). It's not working, remove it again. Fixes: 5f657b04f4f2 ("ANDROID: subsystem-specific vendor_hooks.c for sched") Change-Id: Ia2d39824df2340f6b83050b2805a052ffa57f171 Signed-off-by: Jacky Liu --- include/trace/hooks/cgroup.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/include/trace/hooks/cgroup.h b/include/trace/hooks/cgroup.h index dc6b47dcb21d..a50e6abc55ee 100644 --- a/include/trace/hooks/cgroup.h +++ b/include/trace/hooks/cgroup.h @@ -21,11 +21,7 @@ DECLARE_RESTRICTED_HOOK(android_rvh_refrigerator, DECLARE_HOOK(android_vh_cgroup_attach, TP_PROTO(struct cgroup_subsys *ss, struct cgroup_taskset *tset), - TP_ARGS(ss, tset)) -DECLARE_RESTRICTED_HOOK(android_rvh_cgroup_force_kthread_migration, - TP_PROTO(struct task_struct *tsk, struct cgroup *dst_cgrp, bool *force_migration), - TP_ARGS(tsk, dst_cgrp, force_migration), 1); - + TP_ARGS(ss, tset)); DECLARE_RESTRICTED_HOOK(android_rvh_cpuset_fork, TP_PROTO(struct task_struct *p, bool *inherit_cpus),