1 parent 93fd6e3 commit 154f4f9Copy full SHA for 154f4f9
1 file changed
x86_64/corefreqk.c
@@ -21998,7 +21998,9 @@ static long CoreFreqK_Limit_Idle(int target)
21998
}
21999
22000
#ifdef CONFIG_CPU_FREQ
22001
-#if LINUX_VERSION_CODE >= KERNEL_VERSION(6, 11, 0)
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(6, 11, 0) \
22002
+ || (defined(RHEL_MAJOR) && (RHEL_MAJOR >= 9) \
22003
+ && (RHEL_MINOR >= 7) && (RHEL_MINOR < 99))
22004
static void CoreFreqK_Policy_Exit(struct cpufreq_policy *policy)
22005
{
22006
UNUSED(policy);
0 commit comments