diff options
author | Colin Ian King <colin.king@canonical.com> | 2016-08-31 10:21:23 +0100 |
---|---|---|
committer | Daniel Lezcano <daniel.lezcano@linaro.org> | 2016-09-08 12:46:43 +0200 |
commit | 72109798f19d51cf5640d9eebde3dd79fa1afe51 (patch) | |
tree | c2125d4c8c26110ef7035077fa801f0738eb076f | |
parent | f64cdce36e851bdb38b2a9d98f833968aba570bc (diff) |
topology: remove check for same cpuid cannot exist in 2 different cores
This breaks on recent kernels because the cpu enumation from /sys may not
be in numerical order. Remove it for now.
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
-rw-r--r-- | topology.c | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -149,9 +149,6 @@ int add_topo_info(struct cpu_topology *topo_list, struct topology_info *info) if (s_core->cpu_num > 1) s_core->is_ht = true; - /* Assumption: Same cpuid cannot exist in 2 different cores */ - assert(!check_exist_from_head(&s_phy->cpu_enum_head, info->cpu_id)); - /* Add to the list (really a set) of all contained cpus in s_phy */ list_add_tail(&s_cpu->list_phy_enum, &s_phy->cpu_enum_head); |