diff options
author | Chris Metcalf <cmetcalf@tilera.com> | 2010-11-24 13:42:15 -0500 |
---|---|---|
committer | Chris Metcalf <cmetcalf@tilera.com> | 2010-11-24 13:42:15 -0500 |
commit | 4d658d13c90f14cf3510ca15cafe2f4aa9e23d64 (patch) | |
tree | 77cf85314ed34c6246edd2a1e4fee4277de8169d /arch/x86/xen/enlighten.c | |
parent | b03a6c4c7d8ebd8118d668eafdb85f5f76b5437f (diff) | |
download | linux-4d658d13c90f14cf3510ca15cafe2f4aa9e23d64.tar.gz linux-4d658d13c90f14cf3510ca15cafe2f4aa9e23d64.tar.bz2 linux-4d658d13c90f14cf3510ca15cafe2f4aa9e23d64.zip |
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 <cmetcalf@tilera.com>
Diffstat (limited to 'arch/x86/xen/enlighten.c')
0 files changed, 0 insertions, 0 deletions