create sysfs link from acpi device to sysdev for cpu
authorZhang Rui <rui.zhang@intel.com>
Tue, 29 Apr 2008 06:36:07 +0000 (02:36 -0400)
committerAndi Kleen <andi@basil.nowhere.org>
Wed, 16 Jul 2008 21:27:01 +0000 (23:27 +0200)
commit9f1eb99c757939b0b1783f926130993e9c298bae
treea674f7ce31f6ac3caa3f27da0aa760331bc705a4
parentb62b8ef906cdf7115af579ce7378886ce3e0ce00
create sysfs link from acpi device to sysdev for cpu

Sys I/F under acpi device node and sysdev device node are both
needed for cpu hot-removal. User space need this link so that
they know they are poking the sys I/F for the same cpu.
http://bugzilla.kernel.org/show_bug.cgi?id=9772

Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Signed-off-by: Andi Kleen <ak@linux.intel.com>
drivers/acpi/processor_core.c