From 2d5854c65795062a91709aa77fd20b5599859c50 Mon Sep 17 00:00:00 2001 From: Nicolas Planel Date: Wed, 26 Feb 2003 10:51:13 +0000 Subject: Two smp detection for intel arch --- perl-install/c/smp.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'perl-install/c/smp.c') 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__ -- cgit v1.2.1