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 787025a commit acfc429Copy full SHA for acfc429
drivers/cpufreq/intel_pstate.c
@@ -1633,7 +1633,7 @@ void notify_hwp_interrupt(void)
1633
unsigned long flags;
1634
u64 value;
1635
1636
- if (!hwp_active || !boot_cpu_has(X86_FEATURE_HWP_NOTIFY))
+ if (!hwp_active || !cpu_feature_enabled(X86_FEATURE_HWP_NOTIFY))
1637
return;
1638
1639
rdmsrl_safe(MSR_HWP_STATUS, &value);
@@ -1661,7 +1661,7 @@ static void intel_pstate_disable_hwp_interrupt(struct cpudata *cpudata)
1661
{
1662
bool cancel_work;
1663
1664
- if (!boot_cpu_has(X86_FEATURE_HWP_NOTIFY))
+ if (!cpu_feature_enabled(X86_FEATURE_HWP_NOTIFY))
1665
1666
1667
/* wrmsrl_on_cpu has to be outside spinlock as this can result in IPC */
0 commit comments