Skip to content
Commit 4d658d13 authored by Chris Metcalf's avatar Chris Metcalf
Browse files

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: default avatarChris Metcalf <cmetcalf@tilera.com>
parent b03a6c4c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment