diff options
author | Zhang Rui <rui.zhang@intel.com> | 2008-04-29 10:35:48 +0400 |
---|---|---|
committer | Andi Kleen <andi@basil.nowhere.org> | 2008-07-17 01:27:00 +0400 |
commit | 26d46867b7d27f68a446b073dac7817721ae4c8f (patch) | |
tree | 608134a54bbad0e276a8633301f2da1a3a3ee47b /kernel/cpu.c | |
parent | a3cf859321486f69506326146ab3e2fd15c05c3f (diff) | |
download | linux-26d46867b7d27f68a446b073dac7817721ae4c8f.tar.xz |
fix a deadlock issue when poking "eject" file
"/sys/devices/LNXSYSTM:00/.../eject" is used to evaluate _EJx method
and eject a device in user space.
But system hangs when poking the "eject" file because that
the device hot-removal code invoke the driver .remove method which will
try to remove the "eject" file as a result.
Queues the hot-removal function for deferred execution in this patch.
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>
Diffstat (limited to 'kernel/cpu.c')
0 files changed, 0 insertions, 0 deletions