Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\cpu\mce\amd.c Create Date:2022-07-28 08:03:49
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:mce_threshold_remove_device

Proto:int mce_threshold_remove_device(unsigned int cpu)

Type:int

Parameter:

TypeParameterName
unsigned intcpu
1444  When bank < per_cpu(mce_num_banks, cpu) cycle
1445  If Not (per_cpu(bank_map, cpu) & 1 << bank ) Then Continue
1447  threshold_remove_bank(cpu, bank)
1449  free previously allocated memory
1450  per_cpu(threshold_banks, cpu) = NULL
1451  Return 0
Caller
NameDescribe
mce_threshold_create_devicereate dir/files for all valid threshold banks