diff options
Diffstat (limited to 'perl-install/detect_devices.pm')
-rw-r--r-- | perl-install/detect_devices.pm | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/perl-install/detect_devices.pm b/perl-install/detect_devices.pm index 8cc4935d3..d0f92694a 100644 --- a/perl-install/detect_devices.pm +++ b/perl-install/detect_devices.pm @@ -1157,10 +1157,8 @@ sub BIGMEM() { } sub is_i586() { + return 0 if arch() !~ /86/; my $cpuinfo = cat_('/proc/cpuinfo'); - if (arch() !~ /86/) { - return 0; - } $cpuinfo =~ /^cpu family\s*:\s*(\d+)/m && $1 < 6 || $cpuinfo =~ /^model name\s*:\s*Transmeta.* TM5800/m || # mdvbz#37866 !has_cpu_flag('cmov'); |