From: Paul Mundt Date: Thu, 7 Jun 2007 02:29:37 +0000 (+0900) Subject: sh: Fix up cpu to node mapping in sysfs. X-Git-Tag: v2.6.23-rc1~785^2~38 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=05a117847b43d44f336bbf272a1063661431a5e5;p=pandora-kernel.git 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 --- Reading git-diff-tree failed