From e7440c40677aacff60ced509fca25bf7ed7e5409 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gwenol=C3=A9=20Beauchesne?= Date: Wed, 20 Aug 2003 16:27:16 +0000 Subject: Use x86 smp detection scheme on amd64 instead of the ugly dmesg workaround. --- perl-install/c/smp.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'perl-install') diff --git a/perl-install/c/smp.c b/perl-install/c/smp.c index 7e25302d1..2438418bb 100644 --- a/perl-install/c/smp.c +++ b/perl-install/c/smp.c @@ -92,7 +92,7 @@ int ppcDetectSMP(void) } #endif /* __powerpc__ */ -#ifdef __i386__ +#if defined(__i386__) || defined(__x86_64__) /* * Copyright (c) 1996, by Steve Passe * All rights reserved. @@ -495,8 +495,7 @@ int detectSMP(void) /* TODO: Update to check against /proc/pal/cpuX */ return isSMP = 1; #elif __x86_64__ - /* TODO: Update when SMP machines are there */ - return isSMP = 0; + return isSMP = intelDetectSMP() || intelDetectSMP_mptable(); #else #error unknown architecture #endif -- cgit v1.2.1