]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] x86_64: create sysfs entries for cpu only for present cpus
authorAshok Raj <ashok.raj@intel.com>
Tue, 6 Sep 2005 22:16:19 +0000 (15:16 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 7 Sep 2005 23:57:16 +0000 (16:57 -0700)
commita888cebe17e39476e5ca18c3a4bd96c6775070db
treecaeed406fda8fde3a283f1500807cacd5f6ef7a7
parent0c2b9d5c035f5a82c9c4ba717984d04838a0701e
[PATCH] x86_64: create sysfs entries for cpu only for present cpus

Need to create sysfs only for cpus that are present.  Without which we see
NR_CPUS entries created when we have CONFIG_HOTPLUG and CONFIG_HOTPLUG_CPU
enabled.

Signed-off-by: Ashok Raj <ashok.raj@intel.com>
Acked-by: Andi Kleen <ak@muc.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/i386/mach-default/topology.c