sched: Enable might_sleep before initializing drivers.
authorArve Hjønnevåg <arve@android.com>
Thu, 11 Dec 2008 04:06:28 +0000 (20:06 -0800)
committermgross <mark.gross@intel.com>
Wed, 9 Nov 2011 20:01:14 +0000 (12:01 -0800)
commitd0febfb88f7b4de2ceb26c4746e836a7361e32fe
tree6f085ae85d1ec4d59e5e8282828ce84a28c729b6
parentc6fc31f9bbddf86b22d654a80a78a5b974ab83f1
sched: Enable might_sleep before initializing drivers.

This allows detection of init bugs in built-in drivers.

Signed-off-by: Arve Hjønnevåg <arve@android.com>
kernel/sched.c