examples/vm_power: allow greater than 64 cores
authorDavid Hunt <david.hunt@intel.com>
Fri, 13 Jul 2018 14:22:57 +0000 (15:22 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Fri, 20 Jul 2018 20:53:17 +0000 (22:53 +0200)
commit6453b9284b64ffee841c73193ed26b1f3ebc5b99
tree31242666e79f952d8bbf18ba95bc6aa5daf7cf44
parent4b1a631b8a8a7c9b3e4aaa4ec07ca48d57062f65
examples/vm_power: allow greater than 64 cores

To facilitate more info per core, change the global_cpu_mask
from a uint64_t to an array. This also removes the limit on
64 cores, allocing the aray at run-time based on the number of
cores found in the system.

Signed-off-by: David Hunt <david.hunt@intel.com>
Acked-by: Radu Nicolau <radu.nicolau@intel.com>
examples/vm_power_manager/power_manager.c