util: kernel: Add kernel helper funtion to get number of cpu 49/271149/4
authorDongwoo Lee <dwoo08.lee@samsung.com>
Wed, 16 Feb 2022 03:40:42 +0000 (12:40 +0900)
committerChanwoo Choi <cw00.choi@samsung.com>
Thu, 17 Feb 2022 03:16:45 +0000 (12:16 +0900)
commitd9f2fd24a3ddd7e994df1418ccb2a0895c9aaf5e
treece4566339fc0673420db83f86672bf28c4c30e9f
parent2823015ade4be4a7acbdd148d13052ae13047566
util: kernel: Add kernel helper funtion to get number of cpu

include/util/kernel.h provides helper function to get the information
from standardy linux kernel interface. This version provdies the
function to get the number of online/possible cpu.

Change-Id: I4c5ae5d73e3250b141e5aea69231b6e850790a25
Signed-off-by: Dongwoo Lee <dwoo08.lee@samsung.com>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
CMakeLists.txt
include/util/kernel.h [new file with mode: 0644]
src/util/kernel.c [new file with mode: 0644]