From: Wook Song Date: Tue, 14 Feb 2017 08:43:24 +0000 (+0900) Subject: pass-hal: tm2: Update hotplug ops for set/get functions of min/max online CPUs X-Git-Tag: accepted/tizen/mobile/20170331.082859~6 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;ds=sidebyside;h=35917ef15f0172fdc80560f51869fad872ee928b;p=platform%2Fadaptation%2Ftm2%2Fpass-hal-tm2.git pass-hal: tm2: Update hotplug ops for set/get functions of min/max online CPUs 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 --- diff --git a/src/cpu/cpu.c b/src/cpu/cpu.c index a9e23bc..83bdde0 100644 --- a/src/cpu/cpu.c +++ b/src/cpu/cpu.c @@ -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)