We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3c27b0c commit 841b51eCopy full SHA for 841b51e
arch/x86/events/amd/brs.c
@@ -57,7 +57,7 @@ static inline u64 get_debug_extn_cfg(void)
57
58
static bool __init amd_brs_detect(void)
59
{
60
- if (!boot_cpu_has(X86_FEATURE_BRS))
+ if (!cpu_feature_enabled(X86_FEATURE_BRS))
61
return false;
62
63
switch (boot_cpu_data.x86) {
@@ -112,6 +112,9 @@ static inline int amd_brs_get_tos(union amd_debug_extn_cfg *cfg)
112
*/
113
void amd_brs_reset(void)
114
115
116
+ return;
117
+
118
/*
119
* Reset config
120
0 commit comments