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-08 02:43:50 +00:00
2007-05-31 13:44:55 +09:00
2007-05-07 02:11:56 +00:00
2007-03-05 14:13:25 +09:00
2007-05-07 02:10:53 +00:00
2007-05-21 14:31:39 +09:00
2007-05-07 02:11:56 +00:00
2007-06-08 02:43:40 +00:00
2007-06-08 02:43:37 +00:00
2007-05-31 13:46:21 +09:00
2007-06-08 02:43:47 +00:00