diff options
Diffstat (limited to 'perl-install/c/smp.c')
-rw-r--r-- | perl-install/c/smp.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/perl-install/c/smp.c b/perl-install/c/smp.c index b885de850..baf786cc6 100644 --- a/perl-install/c/smp.c +++ b/perl-install/c/smp.c @@ -489,18 +489,21 @@ int detectSMP(void) #elif __powerpc__ return isSMP = ppcDetectSMP(); #elif __ia64__ + /* TODO: Update to check against /proc/pal/cpuX */ return isSMP = 1; +#elif __x86_64__ + /* TODO: Update when SMP machines are there */ + return isSMP = 0; #else #error unknown architecture #endif } -#if 0 -main() { +#if TEST +int main() { if (detectSMP()) printf("has smp\n"); else printf("no smp\n"); } - #endif |