summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2005-02-23 11:16:47 +0000
committerPascal Rigaux <pixel@mandriva.com>2005-02-23 11:16:47 +0000
commit5c3114c4fc49b18db34d6342cf732631bdd78cd9 (patch)
treef4657f9e62f34dab4e35361f010d31abcbf51652
parentc93bef73b04858c7d972693bcc78fb402519872f (diff)
downloaddrakx-5c3114c4fc49b18db34d6342cf732631bdd78cd9.tar
drakx-5c3114c4fc49b18db34d6342cf732631bdd78cd9.tar.gz
drakx-5c3114c4fc49b18db34d6342cf732631bdd78cd9.tar.bz2
drakx-5c3114c4fc49b18db34d6342cf732631bdd78cd9.tar.xz
drakx-5c3114c4fc49b18db34d6342cf732631bdd78cd9.zip
"pae" flag in the cpu is needed for new kernel
-rw-r--r--perl-install/detect_devices.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/detect_devices.pm b/perl-install/detect_devices.pm
index 46107ed24..b95583fd7 100644
--- a/perl-install/detect_devices.pm
+++ b/perl-install/detect_devices.pm
@@ -852,7 +852,8 @@ sub BIGMEM() {
sub is_i586() {
my $cpuinfo = cat_('/proc/cpuinfo');
$cpuinfo =~ /^cpu family\s*:\s*(\d+)/m && $1 < 6 ||
- $cpuinfo !~ /^flags.*\bcmov\b/m;
+ $cpuinfo !~ /^flags.*\bcmov\b/m ||
+ $cpuinfo !~ /^flags.*\bpae\b/m;
}
sub matching_type {