From: Ashok Raj Date: Tue, 6 Sep 2005 22:16:19 +0000 (-0700) Subject: [PATCH] x86_64: create sysfs entries for cpu only for present cpus X-Git-Tag: v2.6.14-rc1~740 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a888cebe17e39476e5ca18c3a4bd96c6775070db;p=pandora-kernel.git [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 Acked-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed