aboutsummaryrefslogtreecommitdiffstats
path: root/mm/util.c
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2007-06-06 22:29:37 -0400
committerPaul Mundt <lethal@hera.kernel.org>2007-06-07 22:43:50 -0400
commit05a117847b43d44f336bbf272a1063661431a5e5 (patch)
tree7eaf33d0e1964c9bea59dcba4bdedbc5f76b2366 /mm/util.c
parent5bbeafca8d5c64b6d9c6653993492d763be0918f (diff)
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>
Diffstat (limited to 'mm/util.c')
0 files changed, 0 insertions, 0 deletions