commit | 223c237f46fd57abaf90b289611c720dcc6ffa4e | [log] [tgz] |
---|---|---|
author | Jozef Bacik <jobacik@redhat.com> | Wed Aug 24 11:05:05 2016 +0100 |
committer | Jiri Kastner <jkastner@redhat.com> | Thu Dec 22 22:31:25 2016 +0100 |
tree | bf91b359fd0f2f021b67356d7ed2b4d24aad1dc5 | |
parent | f1c8bf461da1344ae48f456a129502f276f5fc14 [diff] |
fix parse_affinity for CPU numbers greater than 31 The function parse_affinity reports wrong results for CPU numbers greater than 31. The problem is caused by the function bitmastlist which parse_affinity calls. The fix treats the inpput line as a long hexbitmask instead of an array in order to produce correct results Signed-off-by: Jozef Bacik <jobacik@redhat.com> Signed-off-by: John Kacur <jkacur@redhat.com> Signed-off-by: Jiri Kastner <jkastner@redhat.com>