summaryrefslogtreecommitdiffstats
path: root/perl-install/detect_devices.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-10-05 16:39:16 +0000
committerThierry Vignaud <tv@mageia.org>2012-10-05 16:39:16 +0000
commitb44aa967c224f71abce9cba7db6a899c097cc572 (patch)
tree178eb1de3bf6e6a78ff574e56d725c4c8138a06f /perl-install/detect_devices.pm
parent8e7a932ca210c00801c9466791ca3882a5d10d51 (diff)
downloaddrakx-b44aa967c224f71abce9cba7db6a899c097cc572.tar
drakx-b44aa967c224f71abce9cba7db6a899c097cc572.tar.gz
drakx-b44aa967c224f71abce9cba7db6a899c097cc572.tar.bz2
drakx-b44aa967c224f71abce9cba7db6a899c097cc572.tar.xz
drakx-b44aa967c224f71abce9cba7db6a899c097cc572.zip
(main,hasCPUMicrocode) load 'microcode' asynchronously
thus preventing big wait when not supported (mga#7671)
Diffstat (limited to 'perl-install/detect_devices.pm')
-rw-r--r--perl-install/detect_devices.pm1
1 files changed, 0 insertions, 1 deletions
diff --git a/perl-install/detect_devices.pm b/perl-install/detect_devices.pm
index 9547d8a9a..6ba852fec 100644
--- a/perl-install/detect_devices.pm
+++ b/perl-install/detect_devices.pm
@@ -1241,7 +1241,6 @@ sub matching_types() {
sub hasCPUMicrocode() {
state $hasCPUMicrocode;
if (!defined $hasCPUMicrocode) {
- eval { modules::load('microcode') };
$hasCPUMicrocode = to_bool(find { 'microcode' } modules::loaded_modules());
}
return $hasCPUMicrocode;