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_present

Proto:static inline void set_cpu_present(unsigned int cpu, bool present)

Type:void

Parameter:

TypeParameterName
unsigned intcpu
boolpresent
832  If present Then pumask_set_cpu - set a cpu in a cpumask*@cpu: cpu number (< nr_cpu_ids)*@dstp: the cpumask pointer
834  Else pumask_clear_cpu - clear a cpu in a cpumask*@cpu: cpu number (< nr_cpu_ids)*@dstp: the cpumask pointer
Caller
NameDescribe
smp_sanity_checkVarious sanity checks.
generic_processor_info
boot_cpu_initActivate the first processor.