pass: Clean up duplicate variables for num_cpus 17/114517/2
authorWook Song <wook16.song@samsung.com>
Mon, 13 Feb 2017 09:03:43 +0000 (18:03 +0900)
committerWook Song <wook16.song@samsung.com>
Tue, 14 Feb 2017 01:49:22 +0000 (10:49 +0900)
commit4f19ff1dcf2252ae87e4badc0b9a75c1ef223575
tree13b49742c2eeb46c17a6ba856b28bbed25a05325
parent38706741121a4c50db65a774789b5ace622a72cc
pass: Clean up duplicate variables for num_cpus

This patch cleans up duplicate variables meaning number of CPUs in a
resource. From now, there are only two variables that indicate the
number of CPUs. One is num_cpus in struct pass_conf_data and this is the
value from the resource conf file. The other is the num_cpus in struct
pass_hotplug and this means the possible maximum number of online CPUs.
Currently, the values of these two variables are equivalently assigned
the value in the conf file.However, the latter would be changed by the
upcoming patch as its original intention.

Change-Id: I289247d7dd5611ccfb2030dc5eeefdda83408307
Signed-off-by: Wook Song <wook16.song@samsung.com>
src/pass/pass-gov-radiation.c
src/pass/pass-gov.c
src/pass/pass-hal.c
src/pass/pass.c
src/pass/pass.h