Paul Mundt 05a117847b sh: Fix up cpu to node mapping in sysfs.
Currently cpu_to_node() is always 0 in the UP case, though
we do want to have the CPU association linked in under sysfs
even in the cases where we're only on a single CPU.

Fix this up, so we have the cpu0 link on all of the available
nodes that don't already have a CPU link of their own.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2007-06-08 02:43:50 +00:00
..
2007-06-04 10:53:00 +09:00
2007-05-07 02:11:57 +00:00
2007-05-21 14:31:39 +09:00
2007-06-08 02:43:49 +00:00
2007-06-08 02:43:42 +00:00
2007-06-08 02:43:40 +00:00