projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4319503
)
[CPUFREQ] powernow-k7 build fix when ACPI=n
author
Dave Jones
<davej@redhat.com>
Thu, 23 Apr 2009 17:36:12 +0000
(13:36 -0400)
committer
Dave Jones
<davej@redhat.com>
Tue, 26 May 2009 16:04:50 +0000
(12:04 -0400)
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>
arch/x86/kernel/cpu/cpufreq/powernow-k7.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/x86/kernel/cpu/cpufreq/powernow-k7.c
b/arch/x86/kernel/cpu/cpufreq/powernow-k7.c
index 3c28ccd49742f26022a49ab3bb6a81cfc1713c4a..a8363e5be4ef5b6b9ce78497b7d2a4aebf3a7f13 100644
(file)
--- a/
arch/x86/kernel/cpu/cpufreq/powernow-k7.c
+++ b/
arch/x86/kernel/cpu/cpufreq/powernow-k7.c
@@
-168,10
+168,12
@@
static int check_powernow(void)
return 1;
}
+#ifdef CONFIG_X86_POWERNOW_K7_ACPI
static void invalidate_entry(unsigned int entry)
{
powernow_table[entry].frequency = CPUFREQ_ENTRY_INVALID;
}
+#endif
static int get_ranges(unsigned char *pst)
{