]> git.baikalelectronics.ru Git - kernel.git/commit
driver core: remove polling for driver_probe_done(v5)
authorMing Lei <tom.leiming@gmail.com>
Sat, 21 Feb 2009 08:45:07 +0000 (16:45 +0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 24 Mar 2009 23:38:25 +0000 (16:38 -0700)
commit2630dc7ed4c3d56ab85d1b1d3bdea7057ca4e134
treec8f45452c649273271ac292715d4a76baa5e9148
parent0e68c885e765959128e0ce0013620f43339b773e
driver core: remove polling for driver_probe_done(v5)

This patch removes 100ms polling for driver_probe_done in
wait_for_device_probe(), and uses wait_event() instead.
Removing polling in fs initialization may lead to
a faster boot.

This patch also changes the return type of wait_for_device_done()
from int to void.

This patch is against Arjan's patch in linux-next tree.

Signed-off-by: Ming Lei <tom.leiming@gmail.com>
Acked-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Reviewed-by: Arjan van de Ven <arjan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/base/dd.c
include/linux/device.h