Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\smpboot.c Create Date:2022-07-28 09:33:59
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:If CPU has died properly, set its state to CPU_UP_PREPARE and* return success

Proto:int cpu_check_up_prepare(int cpu)

Type:int

Parameter:

TypeParameterName
intcpu
354  If Not IS_ENABLED(CONFIG_FOO) evaluates to 1 if CONFIG_FOO is set to 'y' or 'm',* 0 otherwise.(CONFIG_HOTPLUG_CPU) Then
355  atomic_set( & per_cpu(cpu_hotplug_state, cpu), CPU coming up )
356  Return 0
365  Return 0
380  Return -EBUSY
393  Return -EAGAIN
395  Default
398  Return -EIO