diff options
author | Daniel Lezcano <daniel.lezcano@linaro.org> | 2014-08-08 15:29:54 +0200 |
---|---|---|
committer | Daniel Lezcano <daniel.lezcano@linaro.org> | 2014-08-08 16:15:39 +0200 |
commit | 1fca0d9234b5980138686f280620263568327cfb (patch) | |
tree | 743632a830dca2755a3105a8dd20f11d5d2375c4 /topology.c | |
parent | c542dd5c6fab6b5618764cd5e0b27bf3da6b853b (diff) |
Don't stop parsing the topology if the directory is missing
If some cpus are offline, the 'topology' directory is deleted in the sysfs.
With the current code, the topology is partially built, thus giving partial
results.
Fix this by continuing the parsing.
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Diffstat (limited to 'topology.c')
-rw-r--r-- | topology.c | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -320,9 +320,6 @@ static int topo_folder_scan(char *path, folder_filter_t filter) out_free_newpath: free(newpath); - - if (ret) - break; } out_free_basedir: |