[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: Toralf Förster <toralf.foerster@gmx.de> Signed-off-by: Dave Jones <davej@redhat.com>
This commit is contained in:
Родитель
4319503779
Коммит
d38e73e8da
|
@ -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)
|
||||||
{
|
{
|
||||||
|
|
Загрузка…
Ссылка в новой задаче