mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-09 20:32:04 +09:00
Revert "ANDROID: topology: Add flag to indicate topology has been updated"
This reverts commit e5aa1a481e.
There are problems with hooks in the topology code changes in 5.19-rc1,
so revert them for now. If they are still needed in the future, they
can be brought back.
Bug: 187234873
Cc: Abhijeet Dharmapurikar <adharmap@codeaurora.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: I7d41c7af7d4582319937f818e0bde25cedd47610
This commit is contained in:
@@ -237,8 +237,6 @@ static int register_cpu_capacity_sysctl(void)
|
|||||||
subsys_initcall(register_cpu_capacity_sysctl);
|
subsys_initcall(register_cpu_capacity_sysctl);
|
||||||
|
|
||||||
static int update_topology;
|
static int update_topology;
|
||||||
bool topology_update_done;
|
|
||||||
EXPORT_SYMBOL_GPL(topology_update_done);
|
|
||||||
|
|
||||||
int topology_update_cpu_topology(void)
|
int topology_update_cpu_topology(void)
|
||||||
{
|
{
|
||||||
@@ -253,7 +251,6 @@ static void update_topology_flags_workfn(struct work_struct *work)
|
|||||||
{
|
{
|
||||||
update_topology = 1;
|
update_topology = 1;
|
||||||
rebuild_sched_domains();
|
rebuild_sched_domains();
|
||||||
topology_update_done = true;
|
|
||||||
trace_android_vh_update_topology_flags_workfn(NULL);
|
trace_android_vh_update_topology_flags_workfn(NULL);
|
||||||
pr_debug("sched_domain hierarchy rebuilt, flags updated\n");
|
pr_debug("sched_domain hierarchy rebuilt, flags updated\n");
|
||||||
update_topology = 0;
|
update_topology = 0;
|
||||||
|
|||||||
@@ -97,6 +97,5 @@ void remove_cpu_topology(unsigned int cpuid);
|
|||||||
void reset_cpu_topology(void);
|
void reset_cpu_topology(void);
|
||||||
int parse_acpi_topology(void);
|
int parse_acpi_topology(void);
|
||||||
#endif
|
#endif
|
||||||
extern bool topology_update_done;
|
|
||||||
|
|
||||||
#endif /* _LINUX_ARCH_TOPOLOGY_H_ */
|
#endif /* _LINUX_ARCH_TOPOLOGY_H_ */
|
||||||
|
|||||||
Reference in New Issue
Block a user