From 2d3e754a5c57eba701ff043854c185ec82d55a44 Mon Sep 17 00:00:00 2001 From: Samy Al Bahra Date: Tue, 24 Sep 2013 13:34:06 -0400 Subject: [PATCH] build: On Linux use processor pattern for /proc/cpuinfo This fixes incorrect core counts on ARM. Verified behavior on Linux PPC, ARM, x86. SPARC verification pending. --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index 02f1ec3..62e1b97 100755 --- a/configure +++ b/configure @@ -264,7 +264,7 @@ case "$SYSTEM" in SYSTEM=solaris ;; "Linux"|"uClinux") - DCORES=`egrep '(^CPU|processor.*:.*)' /proc/cpuinfo|wc -l` + DCORES=`egrep '(^processor.*:.*)' /proc/cpuinfo|wc -l` SYSTEM=linux ;; "FreeBSD"|"GNU/kFreeBSD")