pass-hal: tm2: Update hotplug ops for set/get functions of min/max online CPUs 35/114635/2
authorWook Song <wook16.song@samsung.com>
Tue, 14 Feb 2017 08:43:24 +0000 (17:43 +0900)
committerChanwoo Choi <cw00.choi@samsung.com>
Tue, 14 Feb 2017 08:54:40 +0000 (17:54 +0900)
This patch updates the hotplug ops for the CPU resource in order to
include the new functions which set and get the minimum/maximum number
of online CPUs.

Change-Id: Ied59bdf57db5be3f4d7600198d79d17802a2af7d
Signed-off-by: Wook Song <wook16.song@samsung.com>
src/cpu/cpu.c

index a9e23bc..83bdde0 100644 (file)
@@ -296,6 +296,10 @@ static int tm2_hotplug_set_online_state(char *res_name, int cpu, int on)
 static struct pass_resource_hotplug_ops tm2_cpu_hotplus_ops = {
        .get_online_state = tm2_hotplug_get_online_state,
        .set_online_state = tm2_hotplug_set_online_state,
+       .get_online_min_num = NULL,
+       .set_online_min_num = NULL,
+       .get_online_max_num = NULL,
+       .set_online_max_num = NULL,
 };
 
 static int tm2_tmu_get_temp(char *res_name)