Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:do_clear_cpu_cap

Proto:static void do_clear_cpu_cap(struct cpuinfo_x86 *c, unsigned int feature)

Type:void

Parameter:

TypeParameterName
struct cpuinfo_x86 *c
unsigned intfeature
95  DECLARE_BITMAP(disable, Take the capabilities and the BUG bits into account )
99  If WARN_ON(feature >= Take the capabilities and the BUG bits into account ) Then Return
102  clear_feature(c, feature)
105  memset(disable, 0, size of disable )
106  __set_bit - Set a bit in memory*@nr: the bit to set*@addr: the address to start counting from* Unlike set_bit(), this function is non-atomic. If it is called on the same* region of memory concurrently, the effect may be that only one operation* succeeds.
109  Do
110  changed = false
111  When feature cycle
117  changed = true
120  When changed cycle
Caller
NameDescribe
clear_cpu_cap
setup_clear_cpu_cap