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:
Greg Kroah-Hartman
2022-07-06 19:08:11 +02:00
parent c18e2df05b
commit b9bca6992d
2 changed files with 0 additions and 4 deletions

View File

@@ -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;

View File

@@ -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_ */