projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d349c4a
)
[CPUFREQ] longhaul: Fix up unreachable code.
author
Dave Jones
<davej@redhat.com>
Fri, 29 Dec 2006 03:30:16 +0000
(22:30 -0500)
committer
Dave Jones
<davej@redhat.com>
Fri, 29 Dec 2006 03:30:16 +0000
(22:30 -0500)
Signed-off-by: RafaĆ Bilski <rafalbilski@interia.pl>
Signed-off-by: Dave Jones <davej@redhat.com>
arch/i386/kernel/cpu/cpufreq/longhaul.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/i386/kernel/cpu/cpufreq/longhaul.c
b/arch/i386/kernel/cpu/cpufreq/longhaul.c
index 6d9c97a690fd076e520a8134a3f87976ff064663..087e941b43de4069a42589c7fb729f5833061210 100644
(file)
--- a/
arch/i386/kernel/cpu/cpufreq/longhaul.c
+++ b/
arch/i386/kernel/cpu/cpufreq/longhaul.c
@@
-774,8
+774,8
@@
static int __init longhaul_init(void)
#ifdef CONFIG_SMP
if (num_online_cpus() > 1) {
- return -ENODEV;
printk(KERN_ERR PFX "More than 1 CPU detected, longhaul disabled.\n");
+ return -ENODEV;
}
#endif
#ifdef CONFIG_X86_IO_APIC