Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\cpu\microcode\core.c Create Date:2022-07-28 08:07:50
Last Modify:2020-03-16 20:13:29 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:mc_device_add

Proto:static int mc_device_add(struct device *dev, struct subsys_interface *sif)

Type:int

Parameter:

TypeParameterName
struct device *dev
struct subsys_interface *sif
744  cpu = id
746  If Not cpu_online(cpu) Then Return 0
749  pr_debug("CPU%d added\n", cpu)
751  err = sysfs_create_group( & kobj, & mc_attr_group)
752  If err Then Return err
755  If microcode_init_cpu(cpu, true) == UCODE_ERROR Then Return -EINVAL
758  Return err