From: Chris Metcalf Date: Wed, 24 Nov 2010 18:42:15 +0000 (-0500) Subject: arch/tile: make glibc's sysconf(_SC_NPROCESSORS_CONF) work correctly X-Git-Tag: v2.6.37-rc4~29^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4d658d13c90f14cf3510ca15cafe2f4aa9e23d64;p=pandora-kernel.git arch/tile: make glibc's sysconf(_SC_NPROCESSORS_CONF) work correctly glibc assumes that it can count /sys/devices/system/cpu/cpu* to get the number of configured cpus. For this to be valid on tile, we need to generate a "cpu" entry for all cpus, including the ones that are not currently allocated for Linux's use. Signed-off-by: Chris Metcalf --- Reading git-diff-tree failed