diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2003-09-30 17:15:49 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2003-09-30 17:15:49 +0000 |
commit | 0e0fe92995bdc7debc3e6357041259e98f2fb7a5 (patch) | |
tree | 3f6c757e98c29bdf7e61265656d17ecc5f024833 | |
parent | 1a3790cf280756ccc7db45cebde1e1a88fcfd17d (diff) | |
download | drakx-0e0fe92995bdc7debc3e6357041259e98f2fb7a5.tar drakx-0e0fe92995bdc7debc3e6357041259e98f2fb7a5.tar.gz drakx-0e0fe92995bdc7debc3e6357041259e98f2fb7a5.tar.bz2 drakx-0e0fe92995bdc7debc3e6357041259e98f2fb7a5.tar.xz drakx-0e0fe92995bdc7debc3e6357041259e98f2fb7a5.zip |
"Processor #129 invalid" doesn't mean 129 processors are available
-rw-r--r-- | perl-install/detect_devices.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/detect_devices.pm b/perl-install/detect_devices.pm index f609b101b..a4b71308b 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 { /\bProcessor #(\d+)\s/ && $1 > 0 } syslog(); + c::detectSMP() || any { /\bProcessor #(\d+)\s+(\S*)/ && $1 > 0 && $2 ne 'invalid' } syslog(); } sub hasPCMCIA() { $::o->{pcmcia} } #- because /proc/pcmcia seems not to be present on 2.4 at least (or use /var/run/stab) |