From 35917ef15f0172fdc80560f51869fad872ee928b Mon Sep 17 00:00:00 2001 From: Wook Song Date: Tue, 14 Feb 2017 17:43:24 +0900 Subject: [PATCH] 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 --- src/cpu/cpu.c | 4 ++++ 1 file changed, 4 insertions(+) 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) -- 2.7.4