summaryrefslogtreecommitdiffstats
path: root/perl-install/c/smp.c
diff options
context:
space:
mode:
authorNicolas Planel <nplanel@mandriva.com>2003-02-26 10:51:13 +0000
committerNicolas Planel <nplanel@mandriva.com>2003-02-26 10:51:13 +0000
commit2d5854c65795062a91709aa77fd20b5599859c50 (patch)
tree28f372e566390a0badb3df8da28c2f129cc7704f /perl-install/c/smp.c
parent0c7d9ac551d9cae3c1d976a163b72b2618690dfa (diff)
downloaddrakx-2d5854c65795062a91709aa77fd20b5599859c50.tar
drakx-2d5854c65795062a91709aa77fd20b5599859c50.tar.gz
drakx-2d5854c65795062a91709aa77fd20b5599859c50.tar.bz2
drakx-2d5854c65795062a91709aa77fd20b5599859c50.tar.xz
drakx-2d5854c65795062a91709aa77fd20b5599859c50.zip
Two smp detection for intel arch
Diffstat (limited to 'perl-install/c/smp.c')
-rw-r--r--perl-install/c/smp.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/perl-install/c/smp.c b/perl-install/c/smp.c
index 4e0ed354a..7e25302d1 100644
--- a/perl-install/c/smp.c
+++ b/perl-install/c/smp.c
@@ -244,7 +244,8 @@ readType()
extern int intelDetectSMP(void);
-static int intelDetectSMP_old(void)
+// old detection
+static int intelDetectSMP_mptable(void)
{
vm_offset_t paddr;
int where;
@@ -483,7 +484,7 @@ int detectSMP(void)
return isSMP;
#ifdef __i386__
- return isSMP = intelDetectSMP();
+ return isSMP = intelDetectSMP() || intelDetectSMP_mptable();
#elif __sparc__
return isSMP = sparcDetectSMP();
#elif __alpha__