From: Nate Diller Date: Tue, 24 Jan 2006 09:09:14 +0000 (+0100) Subject: [BLOCK] elevator: allow default scheduler to potentially be modular X-Git-Tag: v2.6.16-rc2~249^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=248d5ca5ed5feb7f1a68d213c0ff89c604a97179;p=pandora-kernel.git [BLOCK] elevator: allow default scheduler to potentially be modular Jens has decided that allowing the default scheduler to be a module is a bug, and should not be allowed under kconfig. However, I find that scenario useful for debugging, and wish for the kernel to be able to handle this situation without OOPSing, if I enable such an option in the .config directly. This patch dynamically checks for the presence of the compiled-in default, and falls back to no-op, emitting a suitable error message, when the default is not available Tested for a range of boot options on 2.6.16-rc1-mm2. Signed-off-by: Nate Diller Signed-off-by: Jens Axboe --- Reading git-diff-tree failed