]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] ppc64: don't create spurious symlinks under node0 sysdev
authorNathan Lynch <ntl@pobox.com>
Tue, 28 Jun 2005 10:55:25 +0000 (20:55 +1000)
committerPaul Mackerras <paulus@samba.org>
Tue, 28 Jun 2005 10:55:25 +0000 (20:55 +1000)
commitf5f1cc5437961a4bd93d615099f26780819e72d3
tree7daa443dbcb5cda9e057a818168102abe48d3b8c
parenta341ad97245d01c923995cfe7deacd0c8aee6e16
[PATCH] ppc64: don't create spurious symlinks under node0 sysdev

On partitioned systems we can wind up creating spurious symlinks in
/sys/devices/system/node/node0 to non-present cpus.  The symlinks are
not broken; the problem is that we're potentially misinforming
userspace that there is a relationship between node0 and cpus which
are to be added later.  There's no guarantee at all that a cpu which
is added later will belong to node 0.

Signed-off-by: Nathan Lynch <ntl@pobox.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/ppc64/kernel/sysfs.c