summaryrefslogtreecommitdiffstats
path: root/perl-install/install_any.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/install_any.pm')
-rw-r--r--perl-install/install_any.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/install_any.pm b/perl-install/install_any.pm
index 2386619b8..4c96920a0 100644
--- a/perl-install/install_any.pm
+++ b/perl-install/install_any.pm
@@ -12,8 +12,8 @@ use vars qw(@ISA %EXPORT_TAGS @EXPORT_OK);
use common qw(:common :system);
use run_program;
+use detect_devices;
use pkgs;
-use smp;
use log;
1;
@@ -108,7 +108,7 @@ sub setPackages($$) {
$o->{compss} = pkgs::readCompss ($o->{packages});
$o->{compssListLevels} = pkgs::readCompssList($o->{packages});
$o->{compssListLevels} ||= $install_classes;
- push @{$o->{base}}, "kernel-smp" if smp::detect();
+ push @{$o->{base}}, "kernel-smp" if detect_devices::hasSMP();
do {
my $p = $o->{packages}{$_} or log::l(), next;