diff options
author | Takao Indoh <indou.takao@jp.fujitsu.com> | 2014-06-05 14:10:54 +0900 |
---|---|---|
committer | Simon Horman <horms@verge.net.au> | 2014-06-05 18:07:06 +0900 |
commit | 08484c97ecce7df2ded8079c6478a58262007acc (patch) | |
tree | 0e5779d15ad8dd2a222edf572736c2805477a679 /purgatory/string.c | |
parent | 0c41d96cbed0ae895fd7da425f755a8684558e1c (diff) |
Enumerate all /sys/devices/system/cpu/cpuN when they are discontiguous
There is a case that the number of /sys/devices/system/cpu/cpuN is not
contiguous, for example after cpu hot removing. This patch fixes so that
all /sys/devices/system/cpu/cpuN is handled when they are discontiguous.
Signed-off-by: Takao Indoh <indou.takao@jp.fujitsu.com>
Reviewed-by: Zhang Yanfei <zhangyanfei@cn.fujitsu.com>
Acked-by: WANG Chao <chaowang@redhat.com>
Signed-off-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'purgatory/string.c')
0 files changed, 0 insertions, 0 deletions