[Kernel] Defer cpufreq get_policy and asm/amd/nb.h to v6.16

This commit is contained in:
CyrIng
2025-06-05 20:46:55 +02:00
parent b6223385b9
commit 3a7c7033f2
5 changed files with 6 additions and 6 deletions

View File

@@ -4,7 +4,7 @@
COREFREQ_MAJOR = 2
COREFREQ_MINOR = 0
COREFREQ_REV = 6
COREFREQ_REV = 7
HW = $(shell uname -m)
CC ?= cc
WARNING ?= -Wall -Wfatal-errors

View File

@@ -2299,7 +2299,7 @@ static PROCESSOR_SPECIFIC *LookupProcessor(void)
}
#ifdef CONFIG_CPU_FREQ
#if LINUX_VERSION_CODE >= KERNEL_VERSION(6, 15, 0)
#if LINUX_VERSION_CODE >= KERNEL_VERSION(6, 16, 0)
static int cpufreq_get_policy(struct cpufreq_policy *policy, unsigned int cpu)
{
struct cpufreq_policy *cpu_policy __free(put_cpufreq_policy);

View File

@@ -959,7 +959,7 @@ static PROCESSOR_SPECIFIC *LookupProcessor(void)
}
#ifdef CONFIG_CPU_FREQ
#if LINUX_VERSION_CODE >= KERNEL_VERSION(6, 15, 0)
#if LINUX_VERSION_CODE >= KERNEL_VERSION(6, 16, 0)
static int cpufreq_get_policy(struct cpufreq_policy *policy, unsigned int cpu)
{
struct cpufreq_policy *cpu_policy __free(put_cpufreq_policy);

View File

@@ -943,7 +943,7 @@ static PROCESSOR_SPECIFIC *LookupProcessor(void)
}
#ifdef CONFIG_CPU_FREQ
#if LINUX_VERSION_CODE >= KERNEL_VERSION(6, 15, 0)
#if LINUX_VERSION_CODE >= KERNEL_VERSION(6, 16, 0)
static int cpufreq_get_policy(struct cpufreq_policy *policy, unsigned int cpu)
{
struct cpufreq_policy *cpu_policy __free(put_cpufreq_policy);

View File

@@ -53,7 +53,7 @@
#endif /* CONFIG_XEN */
#include <asm/mwait.h>
#ifdef CONFIG_AMD_NB
#if LINUX_VERSION_CODE >= KERNEL_VERSION(6, 15, 0)
#if LINUX_VERSION_CODE >= KERNEL_VERSION(6, 16, 0)
#include <asm/amd/nb.h>
#else
#include <asm/amd_nb.h>
@@ -20844,7 +20844,7 @@ static void Stop_Uncore_AMD_Family_17h(void *arg)
#ifdef CONFIG_CPU_FREQ
#if LINUX_VERSION_CODE >= KERNEL_VERSION(6, 15, 0)
#if LINUX_VERSION_CODE >= KERNEL_VERSION(6, 16, 0)
static int cpufreq_get_policy(struct cpufreq_policy *policy, unsigned int cpu)
{
struct cpufreq_policy *cpu_policy __free(put_cpufreq_policy);