diff options
author | Nate Diller <nate.diller@gmail.com> | 2006-01-24 10:09:14 +0100 |
---|---|---|
committer | Jens Axboe <axboe@suse.de> | 2006-01-24 10:09:14 +0100 |
commit | 248d5ca5ed5feb7f1a68d213c0ff89c604a97179 (patch) | |
tree | bf05775c34c326d11ec7789ba71071755032783d /block/genhd.c | |
parent | 5f00397644e01adfbebafb5d0ebc01eba522709d (diff) | |
download | kernel_samsung_smdk4412-248d5ca5ed5feb7f1a68d213c0ff89c604a97179.zip kernel_samsung_smdk4412-248d5ca5ed5feb7f1a68d213c0ff89c604a97179.tar.gz kernel_samsung_smdk4412-248d5ca5ed5feb7f1a68d213c0ff89c604a97179.tar.bz2 |
[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 <nate.diller@gmail.com>
Signed-off-by: Jens Axboe <axboe@suse.de>
Diffstat (limited to 'block/genhd.c')
0 files changed, 0 insertions, 0 deletions