projects
/
kernel
/
kernel-generic.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
|
history
diff --git
a/arch/i386/kernel/cpu/cpufreq/longhaul.c
b/arch/i386/kernel/cpu/cpufreq/longhaul.c
index
6d9c97a
..
087e941
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