This patch adds the invocation of the hal interface function that sets
the minimum number of online CPUs to the function in charge of the
hotplugging feature. Since the hotplugging feature in PASS was
implemented by considering the only case that it is supported by the
standard interface of the kernel, it could not handle the case that the
hotplugging feature is separately supported by the kernel. After
applying this patch, the hotplugging feature can flexibly handle such
cases.
Change-Id: I0bbfdd586601597fdee81a0a3f185fe2d8012d9d
Signed-off-by: Wook Song <wook16.song@samsung.com>
if (min_num > hotplug->num_cpus)
min_num = hotplug->num_cpus;
+ pass_set_online_min_num(pass_res, min_num);
+
for (i = 0 ; i < hotplug->num_cpus; i++) {
if (i < min_num) {
pass_set_online_state(pass_res, hotplug->sequence[i],