Revert half of "ANDROID: vendor_hooks: Add param for android_vh_cpu_up/down"
This reverts half of commit 496b17304a
.
This hook is not used, so the param is not needed at all. Step on the
way to remove the hook entirely.
Bug: 203756332
Bug: 203492840
Cc: Liujie Xie <xieliujie@oppo.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: I84c021f1139e0bbadc3573211a8ee8a24273f5e9
This commit is contained in:
@@ -15,8 +15,8 @@ DECLARE_HOOK(android_vh_cpu_up,
|
||||
TP_ARGS(cpu));
|
||||
|
||||
DECLARE_HOOK(android_vh_cpu_down,
|
||||
TP_PROTO(unsigned int cpu),
|
||||
TP_ARGS(cpu));
|
||||
TP_PROTO(void *unused),
|
||||
TP_ARGS(unused));
|
||||
|
||||
/* macro versions of hooks are no longer required */
|
||||
|
||||
|
@@ -1127,7 +1127,7 @@ static int cpu_down(unsigned int cpu, enum cpuhp_state target)
|
||||
{
|
||||
int err;
|
||||
|
||||
trace_android_vh_cpu_down(cpu);
|
||||
trace_android_vh_cpu_down(NULL);
|
||||
|
||||
cpu_maps_update_begin();
|
||||
err = cpu_down_maps_locked(cpu, target);
|
||||
|
Reference in New Issue
Block a user