mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 03:15:31 +09:00
ANDROID: Fix for kernelci !CONFIG_SMP break-breaks
ab9c52146f("ANDROID: cgroup: Add vendor hook for rebuild_root_domains_bypass") introduced a hook that declared a parameter whose name collided with a global variable. If !CONFIG_SMP, this global variable is instead a compile-time constant which causes this error: include/linux/cpu.h:101:28: error: expected ‘;’, ‘,’ or ‘)’ before numeric constant Fixes:ab9c52146f("ANDROID: cgroup: Add vendor hook for rebuild_root_domains_bypass") Signed-off-by: Todd Kjos <tkjos@google.com> Change-Id: I7831c5067be2ee548e8f6885eec99ab9085414fa
This commit is contained in:
committed by
Treehugger Robot
parent
9bc66fe57c
commit
b6a23be181
@@ -394,8 +394,8 @@ DECLARE_HOOK(android_vh_mmput,
|
||||
TP_ARGS(unused));
|
||||
|
||||
DECLARE_HOOK(android_vh_rebuild_root_domains_bypass,
|
||||
TP_PROTO(bool cpuhp_tasks_frozen, bool *bypass),
|
||||
TP_ARGS(cpuhp_tasks_frozen, bypass));
|
||||
TP_PROTO(bool tasks_frozen, bool *bypass),
|
||||
TP_ARGS(tasks_frozen, bypass));
|
||||
/* macro versions of hooks are no longer required */
|
||||
|
||||
#endif /* _TRACE_HOOK_SCHED_H */
|
||||
|
||||
Reference in New Issue
Block a user