]> git.baikalelectronics.ru Git - kernel.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)
commit95d213d74d50139511110099ee6803e336fcc011
treecaeed406fda8fde3a283f1500807cacd5f6ef7a7
parentb2bca3f29e89dc87f1260bd67aeffcc38e3039ef
[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