summaryrefslogtreecommitdiffstats
path: root/perl-install/c/smp.c
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/c/smp.c')
-rw-r--r--perl-install/c/smp.c5
1 files changed, 2 insertions, 3 deletions
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