summaryrefslogtreecommitdiffstats
path: root/perl-install/detect_devices.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2003-09-24 15:08:50 +0000
committerPascal Rigaux <pixel@mandriva.com>2003-09-24 15:08:50 +0000
commit177daa9071c157f4a513a495c5050dc81e89a0cf (patch)
tree9400698878d78f66f1d5bd493b94aab4aacad309 /perl-install/detect_devices.pm
parentc42b491065c21f1af411cc80589ef798e6b12d1d (diff)
downloaddrakx-177daa9071c157f4a513a495c5050dc81e89a0cf.tar
drakx-177daa9071c157f4a513a495c5050dc81e89a0cf.tar.gz
drakx-177daa9071c157f4a513a495c5050dc81e89a0cf.tar.bz2
drakx-177daa9071c157f4a513a495c5050dc81e89a0cf.tar.xz
drakx-177daa9071c157f4a513a495c5050dc81e89a0cf.zip
a better grepping of Processor in dmesg (it works when we don't have acpi=ht)
Diffstat (limited to 'perl-install/detect_devices.pm')
-rw-r--r--perl-install/detect_devices.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/detect_devices.pm b/perl-install/detect_devices.pm
index d718c0071..f609b101b 100644
--- a/perl-install/detect_devices.pm
+++ b/perl-install/detect_devices.pm
@@ -586,7 +586,7 @@ sub get_mac_generation() {
sub hasSMP() {
return if $::testing;
- c::detectSMP() || any { /\bProcessors: (\d+)/ && $1 > 1 } syslog();
+ c::detectSMP() || any { /\bProcessor #(\d+)\s/ && $1 > 0 } syslog();
}
sub hasPCMCIA() { $::o->{pcmcia} } #- because /proc/pcmcia seems not to be present on 2.4 at least (or use /var/run/stab)