Commit d38e73e8 authored by Dave Jones's avatar Dave Jones

[CPUFREQ] powernow-k7 build fix when ACPI=n

arch/x86/kernel/cpu/cpufreq/powernow-k7.c:172: warning: 'invalidate_entry' defined but not used
Reported-by: default avatarToralf Förster <toralf.foerster@gmx.de>
Signed-off-by: default avatarDave Jones <davej@redhat.com>
parent 43195037
...@@ -168,10 +168,12 @@ static int check_powernow(void) ...@@ -168,10 +168,12 @@ static int check_powernow(void)
return 1; return 1;
} }
#ifdef CONFIG_X86_POWERNOW_K7_ACPI
static void invalidate_entry(unsigned int entry) static void invalidate_entry(unsigned int entry)
{ {
powernow_table[entry].frequency = CPUFREQ_ENTRY_INVALID; powernow_table[entry].frequency = CPUFREQ_ENTRY_INVALID;
} }
#endif
static int get_ranges(unsigned char *pst) static int get_ranges(unsigned char *pst)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment