Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\cpumask.h Create Date:2022-07-28 05:34:55
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:set_cpu_active

Proto:static inline void set_cpu_active(unsigned int cpu, bool active)

Type:void

Parameter:

TypeParameterName
unsigned intcpu
boolactive
843  If active Then pumask_set_cpu - set a cpu in a cpumask*@cpu: cpu number (< nr_cpu_ids)*@dstp: the cpumask pointer
845  Else pumask_clear_cpu - clear a cpu in a cpumask*@cpu: cpu number (< nr_cpu_ids)*@dstp: the cpumask pointer
Caller
NameDescribe
boot_cpu_initActivate the first processor.